# Quoting Till Adam ([EMAIL PROTECTED]): > # Quoting Denis Oliver Kropp ([EMAIL PROTECTED]): > > > > I will apply it, but I will move the LEDState stuff from directfb.h into > > > the keyboard driver. Application developers should not deal with LEDs ;) > > > > While applying the patch and looking through it again I'm unsure > > if applications should be able to set/get LED status. At least > > it would introduce inconsistency.
Ok, here goes a revision of the lock key patch. Both caps and num lock now work as expected. The leds simply reflect the state of the flags, it is not possible to set the led state individually ( no blinkenlights :( ). There is an additional API function GetLockState, which works just like GetModifiers. I have put the lock state into its own structure, so that if we implement SetLockState that does not touch the modifiers. Currently SetLockState is not there yet. I dont need it, and its easy to add should the need arise. Cheers, Till -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
