mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 18:11:20 +00:00
Input: put ledstate in the keyboard notifier
Led state should be part of the key event, like shiftstate, and not grabbed asynchronously after the fact. [samuel.thibault@ens-lyon.org: various fixes] Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
76d057ce5a
commit
0beb4f6f29
2 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ struct keyboard_notifier_param {
|
|||
struct vc_data *vc; /* VC on which the keyboard press was done */
|
||||
int down; /* Pressure of the key? */
|
||||
int shift; /* Current shift mask */
|
||||
int ledstate; /* Current led state */
|
||||
unsigned int value; /* keycode, unicode value or keysym */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue