Skip to contentSkip to conversation

fix evdev_keycode_to_pc_keycode for Hangul/Latin & Hangul/Hanja toggles

PATCH New 홍도형 1 participant 1 message Mar 26, 2012

lore
Share & tools
lore

홍도형

author
#0 lore raw

PATCH 1/1 fix evdev_keycode_to_pc_keycode for Hangul/Latin & Hangul/Hanja toggles

Scan code for Hangul/English is 0xf2,

Scan code for Hangul/Hanja is 0xf1

---

ui/x_keymap.c +0 -0

index b9b0944..5e1b796 100644

--- a/ui/x_keymap.c

+++ b/ui/x_keymap.c

@@ -127,8 +127,8 @@ static const uint8_t evdev_keycode_to_pc_keycode[61] = {

     0,         /* 127 EVDEV - PAUS */

     0,         /* 128 EVDEV - ???? */

     0,         /* 129 EVDEV - I129 ("Internet" Keyboards) */

- 0xf1, /* 130 EVDEV - HNGL (Korean Hangul Latin toggle) */

- 0xf2, /* 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */

+ 0xf2, /* 130 EVDEV - HNGL (Korean Hangul Latin toggle) */

+ 0xf1, /* 131 EVDEV - HJCV (Korean Hangul Hanja toggle) */

     0x7d,      /* 132 AE13 (Yen)*/

     0xdb,      /* 133 EVDEV - LWIN */

     0xdc,      /* 134 EVDEV - RWIN */

---