[BRLTTY] Filter keyboard keypresses on Linux

Stéphane Doyon s.doyon at videotron.ca
Mon Jan 14 21:17:52 EST 2008


On Tue, 15 Jan 2008, Mario Lang wrote:

>> Does anyone know what happens if the same event device is opened more than
>> once, which could happen, for example, if more than one brltty is started?
>
> I *think* if the application does not "grab" the keyboard,
> other apps can still open the device.  I never tested
> what happens if a grabbed keyboard gets opened a second time,
> but that should be fairly easy to test with a custom piece of C code.
> I am currently swamped with work, so I could look at this
> case on the weekend at the earliest.

Doing a second EVIOCGRAB gives me
EVIOCGRAB: Device or resource busy

-- 
Stéphane Doyon
<s.doyon at videotron.ca>
http://pages.videotron.com/sdoyon/


More information about the BRLTTY mailing list