[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Intercepting the Keyboard
- To: <pygame-users@xxxxxxxx>
- Subject: [pygame] Intercepting the Keyboard
- From: "Ryan Strunk" <ryan.strunk@xxxxxxxxx>
- Date: Wed, 7 Mar 2012 22:03:36 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 07 Mar 2012 23:03:34 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=VPpTKAK0b2eyw3+2aBGyEcDo6tV4nIxPN51223DgyFU=; b=OvduFisGx782jEPlfpqLVecOyVtc66YYUT/x4itmikYizAPqkpottP/gjC/yAPgwt2 dSLOIJujDdlZaymJ2Oh0snsxATuMSSshdGmJx2tv1oHFs+xmceShlhCPqOzH82FhIr6B Xw7gjPuxDfHjdjWE5cTE0KgLsSbiBaCENkCA3o92MjdlZWhFTh6kK9VFX0KQ/zApOoFY ncsTGsa77GFdr2uzgNA3XYJMGMuLA8hZlFAFvnVvIU0UKiTsbBv/Hs+h8RHOZ8YoHSeW hqPASAlJDtIkcqreekHBwjJ2f6AT22DG4e+ohyhmFJcrRafGfYec4+2n4TlK093Sm9CX bZoA==
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- Thread-index: Acz830Xw0A7jdOIEQiS72kohcDHrbw==
Hello everyone,
In creating audio-based games, I'm trying to make my programs work with
major screen readers. The problem is that the industry leader, JAWS, likes
to intercept keystrokes sent to the system. This means that if you build
arrow key use into a pygame program, JAWS gets to your arrow keys first and
processes them before Pygame can. Unfortunately, cutting out the screen
reader isn't an option, as it's used to read any game text that might be
written to the screen.
I'm curious if anyone has recommendations as to how I could have Pygame or
Python get to keyboard events before the rest of the system. I have a friend
who was able to make this happen using C#.net, but I can't even begin to ask
how or if it's possible to do this using Python.
Any help you all can provide would be greatly appreciated.
All the best,
Ryan