Skip to contentSkip to conversation

[°] [¨] [€] three characters in keyboard.

DISCUSSION Xiangfu Liu 2 participants 3 messages Sep 18, 2009 HID

lore
Share & tools
lore
#0 lore raw

Hi
I want make those three characters work in keyboard.
I change the defkeymap.map like[1].
but it's not work. Since I am a Chinese. never use the euro keyboard. give me some tips.

thanks.

[1]

part of defkeymap.map:
keycode 30 = a
altgr keycode 30 = F100
keycode 31 = s
altgr keycode 31 = F101
keycode 32 = d
altgr keycode 32 = F102
...
string F100 = "°"
string F101 = "¨"
string F102 = "€"

Signature · 7 lines
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 11 lines · Xiangfu Liu

Hi
I want make those three characters work in keyboard.
I change the defkeymap.map like[1].
but it's not work. Since I am a Chinese. never use the euro keyboard. give me some tips.

thanks.

[1]

Quoted 8 lines

part of defkeymap.map:
keycode 30 = a
altgr keycode 30 = F100
keycode 31 = s
altgr keycode 31 = F101
keycode 32 = d
altgr keycode 32 = F102
...

Use unicode notation:

altgr keycode 30 = U+nnnn

where nnnn is UTF-8 code.

Signature · 5 lines
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 21 lines · Dmitry Torokhov
Quoted 11 lines · Xiangfu Liu

Hi
I want make those three characters work in keyboard.
I change the defkeymap.map like[1].
but it's not work. Since I am a Chinese. never use the euro keyboard. give me some tips.

thanks.

[1]

Quoted 8 lines

part of defkeymap.map:
keycode 30 = a
altgr keycode 30 = F100
keycode 31 = s
altgr keycode 31 = F101
keycode 32 = d
altgr keycode 32 = F102
...

Quoted 6 lines

Use unicode notation:

altgr keycode 30 = U+nnnn

where nnnn is UTF-8 code.

it's work now. the value is form [1]
a:€
s:¨
d:°

keycode 30 = a
+ altgr keycode 30 = U+00B0
keycode 31 = s
+ altgr keycode 31 = U+00A8
keycode 32 = d
+ altgr keycode 32 = U+20AC

[1] http://slayeroffice.com/tools/unicode_lookup/

Best Regards

Signature · 7 lines
Xiangfu Liu
Email: xiangfu at qi-hardware dot com
Web: http://www.qi-hardware.com
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html