* [°] [¨] [€] three characters in keyboard.
@ 2009-09-18 5:07 Xiangfu Liu
2009-09-18 6:17 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Xiangfu Liu @ 2009-09-18 5:07 UTC (permalink / raw)
To: linux-input
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 = "€"
--
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [°] [¨] [€] three characters in keyboard.
2009-09-18 5:07 [°] [¨] [€] three characters in keyboard Xiangfu Liu
@ 2009-09-18 6:17 ` Dmitry Torokhov
2009-09-18 7:11 ` Xiangfu Liu
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2009-09-18 6:17 UTC (permalink / raw)
To: Xiangfu Liu; +Cc: linux-input
On Fri, Sep 18, 2009 at 01:07:41PM +0800, Xiangfu Liu wrote:
> 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
> ...
Use unicode notation:
altgr keycode 30 = U+nnnn
where nnnn is UTF-8 code.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [°] [¨] [€] three characters in keyboard.
2009-09-18 6:17 ` Dmitry Torokhov
@ 2009-09-18 7:11 ` Xiangfu Liu
0 siblings, 0 replies; 3+ messages in thread
From: Xiangfu Liu @ 2009-09-18 7:11 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-input
Dmitry Torokhov wrote:
> On Fri, Sep 18, 2009 at 01:07:41PM +0800, Xiangfu Liu wrote:
>> 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
>> ...
>
> 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
--
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-18 7:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 5:07 [°] [¨] [€] three characters in keyboard Xiangfu Liu
2009-09-18 6:17 ` Dmitry Torokhov
2009-09-18 7:11 ` Xiangfu Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).