* fhandler_console.c (fhandler_console::read): Record the state of the SHIFT,
CTRL and ALT keys at the time of the last keyboard input event. (fhandler_console::ioctl): Handle requests to retrieve the keyboard modifiers via the TIOCLINUX command. * fhandler_tty.c (fhandler_tty_slave::read): Ditto. * include/sys/termios.h (TIOCLINUX): New macro definition.
This commit is contained in:
@ -330,5 +330,6 @@ struct winsize
|
||||
|
||||
#define TIOCGWINSZ (('T' << 8) | 1)
|
||||
#define TIOCSWINSZ (('T' << 8) | 2)
|
||||
#define TIOCLINUX (('T' << 8) | 3)
|
||||
|
||||
#endif /* _SYS_TERMIOS_H */
|
||||
|
Reference in New Issue
Block a user