Rewrited of onscreen keyboard. Uses 2 files from xorg and now it can change between layouts.
This commit is contained in:
parent
c44be7d6dd
commit
f14872a133
12 changed files with 10253 additions and 3 deletions
59
osk/test.h_layout
Normal file
59
osk/test.h_layout
Normal file
|
|
@ -0,0 +1,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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue