-
Notifications
You must be signed in to change notification settings - Fork 0
/
pc102rotated.map
52 lines (50 loc) · 1.75 KB
/
pc102rotated.map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// pc102rotated.map - ALE one-hand keyboard mapping.
//
// This file is part of ALE one-hand keyboard
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; only version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// $Id$
//-----------------------------------------------------------------------------
// Left hand: Rotated Number PAD
// .---..---..---..---..---. | Special: NUM
// | || 7 || 8 || 9 ||NUM| | Quote: -
// | 0 |`---'`---'`---'`---' | Repeat: ENTER
// | |.---..---..---..---. | Shift: 0
// | || 4 || 5 || 6 || / | | Ctrl: .
// `---'`---'`---'`---'`---' | Alt: /
// .---..---..---..---..---. | GUI: *
// | . || 1 || 2 || 3 || * | | MACRO: +
// `---'`---'`---'`---'`---' | Special is used as commands prefix
// .--------..--------..---. | Quote is our shift key (second set)
// | ENTER || + || - | | Repeat repeats the last key sequence.
// `--------'`--------'`---' | Shift/Ctrl/Alt/GUI are just the
// | modifier to be used with mouse.
//-----------------------------------------------------------------------------
// Converts input keys to internal symbols
convert:
KP0 -> USR1
KP1 -> 7
KP2 -> 4
KP3 -> 1
KP4 -> 8
KP5 -> 5
KP6 -> 2
KP7 -> 9
KP8 -> 6
KP9 -> 3
KP_ADD -> *
KP_DIVIDE -> USR3
KP_ENTER -> #
KP_MULTIPLY -> USR4
KP_PERIOD -> USR2
KP_SUBTRACT -> 0
NUMLOCK -> SPECIAL