1
1
Denys Vlasenko 77cfaf03cb Ticket #2988: When an unknown key is pressed, it is interpreted as garbage.
keyboard input: simplify code, no logic changes

This change slightly simplifies and rearranges the code
in get_key_code(), reduces indentation levels there,
adds a few comments. The logic remains the same.

This is a preparatory patch for subsequent changes.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-05-23 11:41:25 +03:00
..
2012-12-18 16:27:49 +04:00
2013-02-14 14:42:27 +04:00
2012-12-18 16:27:49 +04:00
2011-06-21 16:13:10 +04:00
2012-09-10 14:29:53 +03:00
2012-09-10 14:29:53 +03:00
2012-06-20 22:26:10 +04:00
2010-11-24 10:27:20 +03:00
2010-11-24 10:27:20 +03:00
2012-11-19 21:42:47 +04:00