diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-26 01:52:34 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-26 01:52:34 -0400 |
commit | 0ae051a19092d36112b5ba60ff8b5df7a5d5d23b (patch) | |
tree | 26c56905ff7f26995e8ba1085f60c9c33e8a8483 /drivers/char/keyboard.c | |
parent | b9ab58dd8e771d30df110c56e785db1ae5e073df (diff) |
Input: atkbd - fix HANGEUL/HANJA keys
Make atkbd report HANGEUL/HANJA keys by default and use correct scan
codes for these keys (they were swapped). Also make sure their scancodes
reported as EV_MSC/MSC_SCAN events.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/char/keyboard.c')
-rw-r--r-- | drivers/char/keyboard.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index d82368bc46d..6cb85dcbbc8 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c | |||
@@ -1075,10 +1075,12 @@ static int emulate_raw(struct vc_data *vc, unsigned int keycode, | |||
1075 | put_queue(vc, 0x45 | up_flag); | 1075 | put_queue(vc, 0x45 | up_flag); |
1076 | return 0; | 1076 | return 0; |
1077 | case KEY_HANGEUL: | 1077 | case KEY_HANGEUL: |
1078 | if (!up_flag) put_queue(vc, 0xf1); | 1078 | if (!up_flag) |
1079 | put_queue(vc, 0xf2); | ||
1079 | return 0; | 1080 | return 0; |
1080 | case KEY_HANJA: | 1081 | case KEY_HANJA: |
1081 | if (!up_flag) put_queue(vc, 0xf2); | 1082 | if (!up_flag) |
1083 | put_queue(vc, 0xf1); | ||
1082 | return 0; | 1084 | return 0; |
1083 | } | 1085 | } |
1084 | 1086 | ||