Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/osk/test.h_layout
blob: cd9cfc863e1c8f736d269eba8518de4aa9a9e805 (plain)
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
53
54
55
56
57
58
59
# Derived from the output of xmodmap -pk  with the keyboard set to 
# US intl altgr plus dead keys and some editing.

# Adapted to the use in Tuxpaint, to roughly follow the layout
# of my computer. No functions keys, no esc key,
# no menu or windows keys, no multimedia keys and so on.

# keycodes up to 8 are reserved for internal use, like
# 0 empty button
# 1 next layout
# 2 previous layout

# ABC layout of 15 buttons wide and 5 rows height

WIDTH 25
HEIGHT 1
#FONTPATH default_font.ttf


# For the purpose of osk should be:
# KEY keycode  width  label_plain label_top label_altgr shiftcaps
# shiftcaps means if the value of the key should be shifted if capslock is active
# 



# Arrow to left will change to the previous keyboard
# Disabled for now...
KEY 2 1.5 <--  NULL NULL NULL 0
KEY 0 2.0 NULL NULL NULL 0

KEY 10 1.0 1 ! ¡ 0
KEY 11 1.0 2 @ ² 0
KEY 12 1.0 3 # · 0
KEY 13 1.0 4 $ ¤ 0
KEY 14 1.0 5 % € 0
KEY 15 1.0 6 ^ ¼ 0
KEY 16 1.0 7 & ½ 0
KEY 17 1.0 8 * ¾ 0
KEY 18 1.0 9 ( ‘ 0
KEY 19 1.0 0 ) ’ 0
KEY 0 1.0 NULL NULL NULL 0

KEY 20 1.0 - _ ¥ 0
KEY 21 1.0 = + × 0
KEY 0 2.0 NULL NULL NULL 0




KEY 22 2.0 Back NULL NULL 0



# Return
KEY 36 2.0 Enter NULL NULL 0

KEY 1 1.5 -->  NULL NULL NULL 0