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
2012-12-18 16:27:49 +04:00
2013-03-09 16:04:51 +04:00
2013-02-14 14:42:27 +04:00
2012-12-18 16:27:49 +04:00
2013-02-16 17:40:37 +03:00
2013-05-23 11:41:25 +03:00
2013-03-09 16:04:18 +04:00
2013-04-08 15:46:39 +04:00
2012-11-09 10:05:13 +04:00
2012-06-25 16:58:57 +04:00
2011-06-21 16:13:10 +04:00
2011-06-21 16:13:10 +04:00
2011-03-21 23:55:52 +02:00
2011-12-12 11:51:25 +03:00
2011-10-17 13:30:03 +03:00
2012-12-20 15:35:35 +04:00
2012-12-20 15:35:35 +04:00
2013-01-16 14:34:11 +04:00
2013-01-16 14:34:11 +04:00
2013-01-16 14:34:34 +04:00
2012-09-10 14:29:53 +03:00
2012-08-30 10:43:20 +04:00
2012-08-30 10:43:20 +04:00
2012-11-09 10:05:13 +04:00
2012-03-06 11:52:30 +03:00
2011-12-06 16:24:10 +03:00
2011-01-20 17:38:27 +02:00
2012-12-18 16:27:49 +04:00
2013-02-16 17:40:37 +03:00
2012-05-08 18:57:55 +04:00
2012-09-10 14:29:53 +03:00
2011-06-23 14:45:00 +03:00
2012-06-20 22:26:10 +04:00
2010-11-24 10:27:20 +03:00
2013-02-16 17:40:37 +03:00
2011-10-18 14:08:34 +03:00
2010-11-24 10:27:47 +03:00
2010-11-24 10:27:20 +03:00
2013-03-09 16:04:19 +04:00
2013-02-16 17:39:33 +03:00
2013-02-16 17:39:33 +03:00
2011-03-21 23:55:52 +02:00
2012-11-19 21:42:47 +04:00