Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Software emulation of angled arrow keys on Lenovo Thinkpad?
Date: Sun, 28 Aug 2022 01:18:11
Message-Id: YwnIMSbP6kzi9UMR@waltdnes.org
In Reply to: Re: [gentoo-user] Software emulation of angled arrow keys on Lenovo Thinkpad? by Walter Dnes
1 That's on a real numeric keypad. Meanwhile on the Lenovo Thinkpad
2
3 left shift
4
5 KeyPress event, serial 38, synthetic NO, window 0xe00001,
6 root 0x256, subw 0x0, time 25019825, (528,-50), root:(532,488),
7 state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
8 XLookupString gives 0 bytes:
9 XmbLookupString gives 0 bytes:
10 XFilterEvent returns: False
11
12 KeyRelease event, serial 38, synthetic NO, window 0xe00001,
13 root 0x256, subw 0x0, time 25019913, (528,-50), root:(532,488),
14 state 0x1, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
15 XLookupString gives 0 bytes:
16 XFilterEvent returns: False
17
18 exit
19
20 KeyPress event, serial 38, synthetic NO, window 0xe00001,
21 root 0x256, subw 0x0, time 25211416, (708,53), root:(712,591),
22 state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
23 XLookupString gives 0 bytes:
24 XmbLookupString gives 0 bytes:
25 XFilterEvent returns: False
26
27 KeyRelease event, serial 38, synthetic NO, window 0xe00001,
28 root 0x256, subw 0x0, time 25211553, (708,53), root:(712,591),
29 state 0x0, keycode 115 (keysym 0xff57, End), same_screen YES,
30 XLookupString gives 0 bytes:
31 XFilterEvent returns: False
32
33 pgdn
34
35 KeyPress event, serial 38, synthetic NO, window 0xe00001,
36 root 0x256, subw 0x0, time 25338798, (677,2), root:(681,540),
37 state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
38 XLookupString gives 0 bytes:
39 XmbLookupString gives 0 bytes:
40 XFilterEvent returns: False
41
42 KeyRelease event, serial 38, synthetic NO, window 0xe00001,
43 root 0x256, subw 0x0, time 25338934, (677,2), root:(681,540),
44 state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
45 XLookupString gives 0 bytes:
46 XFilterEvent returns: False
47
48 home
49
50 KeyPress event, serial 38, synthetic NO, window 0xe00001,
51 root 0x256, subw 0x0, time 25427458, (880,-8), root:(884,530),
52 state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
53 XLookupString gives 0 bytes:
54 XmbLookupString gives 0 bytes:
55 XFilterEvent returns: False
56
57 KeyRelease event, serial 38, synthetic NO, window 0xe00001,
58 root 0x256, subw 0x0, time 25427562, (880,-8), root:(884,530),
59 state 0x0, keycode 110 (keysym 0xff50, Home), same_screen YES,
60 XLookupString gives 0 bytes:
61 XFilterEvent returns: False
62
63 pgup
64
65 KeyPress event, serial 38, synthetic NO, window 0xe00001,
66 root 0x256, subw 0x0, time 25478798, (767,108), root:(771,646),
67 state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
68 XLookupString gives 0 bytes:
69 XmbLookupString gives 0 bytes:
70 XFilterEvent returns: False
71
72 KeyRelease event, serial 38, synthetic NO, window 0xe00001,
73 root 0x256, subw 0x0, time 25478901, (767,108), root:(771,646),
74 state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
75 XLookupString gives 0 bytes:
76 XFilterEvent returns: False
77
78 ###################################################################
79
80 Is it possible to map {LEFT-SHIFT} plus End, PgDn, Home, PgUp to "real
81 keypad" 1, 3, 7, 9 respectively? If the {LEFT-SHIFT} is not being held
82 down, then the End, PgDn, Home, PgUp would have their regular meanings.
83 To be more specific, while "keycode 50 (keysym 0xffe1, Shift_L)" is in
84 effect (i.e. {Left}{SHIFT} is being held down)...
85
86 {END} (aka down left) maps to "keycode 87 (keysym 0xffb1, KP_1)"
87
88 {PgDn} (aka down right) maps to "keycode 89 (keysym 0xffb3, KP_3)"
89
90 {HOME} (aka up left) maps to "keycode 79 (keysym 0xffb7, KP_7)"
91
92 {PgUp} (aka up right) maps to "keycode 81 (keysym 0xffb9, KP_9)"
93
94 --
95 Walter Dnes <waltdnes@××××××××.org>
96 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Software emulation of angled arrow keys on Lenovo Thinkpad? Jack <ostroffjh@×××××××××××××××××.net>