mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Added custom xvkbd for avoiding typing into other windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37439 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
08c312f2ac
commit
1f51de3cd1
@ -1,2 +1,10 @@
|
||||
all:
|
||||
|
||||
all: build-xvkbd run-tests
|
||||
|
||||
.PHONY:
|
||||
build-xvkbd:
|
||||
cd xvkbd && xmkmf && make
|
||||
|
||||
.PHONY:
|
||||
run-tests: xvkbd
|
||||
./run-tests.sh
|
||||
|
@ -1,33 +1,52 @@
|
||||
Automated tests based on the "MonKey Testing" keytest program.
|
||||
======================================================================
|
||||
|
||||
WARNING!!
|
||||
----------------------------------------------------------------------
|
||||
Running the tests in this folder may cause abrupt kill of existing
|
||||
LyX instances on your system. In order to avoid any possible data
|
||||
loss, quit any running instance of LyX in which you're carrying out
|
||||
real work. Also, although precautions have been taken in order to not
|
||||
allow the key presses to reach non-LyX windows, this may sometimes
|
||||
happen anyway. Please, close any running application that is not
|
||||
strictly needed.
|
||||
|
||||
|
||||
DEPENDENCIES
|
||||
----------------------------------------------------------------------
|
||||
The following programs are needed by the testing framework:
|
||||
- xvkbd: a modified copy of xvkbd is included in this folder, and should
|
||||
be built before running the tests
|
||||
- wmctrl
|
||||
- pcregrep
|
||||
|
||||
xvkbd, wmctrl, pcregrep
|
||||
|
||||
USAGE
|
||||
|
||||
----------------------------------------------------------------------
|
||||
In order to launch all the tests available in this folder, just run
|
||||
|
||||
./run-tests.sh
|
||||
make
|
||||
|
||||
and do not interact with your computer while the tests are running.
|
||||
|
||||
If you wish to launch one or more specific tests, then provide them
|
||||
as argument to the script, e.g.:
|
||||
as argument to the run-tests.sh script, e.g.:
|
||||
|
||||
./run-tests.sh <whatever>*-in.txt
|
||||
|
||||
For failed tests you get a folder with the logs that help you identify
|
||||
the problem.
|
||||
|
||||
SYNTAX
|
||||
|
||||
SYNTAX
|
||||
----------------------------------------------------------------------
|
||||
Each test-case script should be named as xxx-in.txt. The syntax of the
|
||||
script is described in detail in the sample test-case script
|
||||
hello-world-in.txt.
|
||||
|
||||
TODO
|
||||
|
||||
TODO
|
||||
----------------------------------------------------------------------
|
||||
Speed-up the execution of the tests as much as possible (i.e., get rid
|
||||
of heuristic waits when present and replace them with exact check of
|
||||
the condition we're waiting for).
|
||||
|
@ -200,7 +200,7 @@ def sendKeystring(keystr, LYX_PID):
|
||||
time.sleep(0.1)
|
||||
sys.stdout.flush()
|
||||
if (subprocess.call(
|
||||
["xvkbd", "-xsendevent", "-window", lyx_window_name, "-delay", DELAY, "-text", keystr],
|
||||
[xvkbd_exe, "-no_root", "-xsendevent", "-window", lyx_window_name, "-delay", DELAY, "-text", keystr],
|
||||
stdout=FNULL,stderr=FNULL
|
||||
) == 0):
|
||||
sys.stdout.write('*')
|
||||
@ -244,6 +244,10 @@ lyx_exe = os.environ.get('LYX_EXE')
|
||||
if lyx_exe is None:
|
||||
lyx_exe = "lyx"
|
||||
|
||||
xvkbd_exe = os.environ.get('XVKBD_EXE')
|
||||
if xvkbd_exe is None:
|
||||
xvkbd_exe = "xvkbd"
|
||||
|
||||
file_new_command = os.environ.get('FILE_NEW_COMMAND')
|
||||
if file_new_command is None:
|
||||
file_new_command = "\Afn"
|
||||
|
@ -4,9 +4,16 @@
|
||||
# Tests are identified as having a file name of *-in.txt
|
||||
# For failed tests, the collected output is kept in the corresponding folder
|
||||
|
||||
if [ ! -x xvkbd/xvkbd ]; then
|
||||
echo "You need to build XVKBD first, try: cd xvkbd && xmkmf && make"
|
||||
exit -1;
|
||||
fi
|
||||
|
||||
export LYX_EXE=../../../src/lyx
|
||||
export XVKBD_EXE=../xvkbd/xvkbd
|
||||
export KEYTEST=../keytest.py
|
||||
export LYX_USERDIR=$(pwd)/home/.lyx
|
||||
LYX_HOME=out-home
|
||||
export LYX_USERDIR=$(pwd)/$LYX_HOME/.lyx
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
TESTS=$(ls *-in.txt | sed -e 's/hello-world-in.txt\|first-time-in.txt//');
|
||||
@ -16,9 +23,9 @@ fi
|
||||
|
||||
echo
|
||||
|
||||
if [ ! -d home ]; then
|
||||
mkdir home
|
||||
cd home
|
||||
if [ ! -d $LYX_HOME ]; then
|
||||
mkdir $LYX_HOME
|
||||
cd $LYX_HOME
|
||||
echo "Initializing testing environment . . ."
|
||||
if ! ../single-test.sh "../first-time-in.txt" > keytest-log.txt 2>&1; then
|
||||
echo "Some error occurred: check $(pwd)"
|
||||
|
@ -22,5 +22,6 @@ if [ "$(pidof lyx)" != "" ]; then
|
||||
fi
|
||||
export MAX_LOOPS=1
|
||||
export LYX_EXE=${LYX_EXE:-../../src/lyx}
|
||||
export XVKBD_EXE=${XVKBD_EXE:-./xvkbd/xvkbd}
|
||||
|
||||
$KEYTEST
|
||||
|
85
development/autotests/xvkbd/Imakefile
Normal file
85
development/autotests/xvkbd/Imakefile
Normal file
@ -0,0 +1,85 @@
|
||||
#ifndef XCOMM
|
||||
#define XCOMM #
|
||||
#endif
|
||||
|
||||
|
||||
XCOMM Remove the next line if you want genuine Xaw instead of Xaw3d
|
||||
XCOMM #define XAW3D
|
||||
|
||||
XCOMM Remove the next line if you don't want to enable XTEST support
|
||||
#define XTEST
|
||||
|
||||
XCOMM Remove the next line if you want to disable internationalization
|
||||
#define I18N
|
||||
|
||||
|
||||
SRCS = xvkbd.c findwidget.c
|
||||
OBJS = xvkbd.o findwidget.o
|
||||
DEPLIBS = XawClientDepLibs
|
||||
SYS_LIBRARIES = XawClientLibs
|
||||
|
||||
#ifdef XAW3D
|
||||
D_XAW3D = -DXAW3D
|
||||
XAWLIB = -lXaw3d
|
||||
#endif
|
||||
|
||||
#ifdef XTEST
|
||||
D_XTEST = -DUSE_XTEST
|
||||
SYS_LIBRARIES = XawClientLibs -lXtst
|
||||
#endif
|
||||
|
||||
#ifdef I18N
|
||||
D_I18N = -DUSE_I18N
|
||||
#endif
|
||||
|
||||
DEFINES = $(D_XAW3D) $(D_XTEST) $(D_I18N)
|
||||
|
||||
SpecialObjectRule(xvkbd.o, xvkbd.c resources.h XVkbd-common.h, )
|
||||
ComplexProgramTarget(xvkbd)
|
||||
|
||||
InstallAppDefaults(XVkbd)
|
||||
InstallAppDefaults(XVkbd-belgian)
|
||||
InstallAppDefaults(XVkbd-common)
|
||||
InstallAppDefaults(XVkbd-danish)
|
||||
InstallAppDefaults(XVkbd-fitaly)
|
||||
InstallAppDefaults(XVkbd-french)
|
||||
InstallAppDefaults(XVkbd-french2)
|
||||
InstallAppDefaults(XVkbd-german)
|
||||
InstallAppDefaults(XVkbd-greek)
|
||||
InstallAppDefaults(XVkbd-hebrew)
|
||||
InstallAppDefaults(XVkbd-icelandic)
|
||||
InstallAppDefaults(XVkbd-italian)
|
||||
InstallAppDefaults(XVkbd-jisx6002)
|
||||
InstallAppDefaults(XVkbd-jisx6004)
|
||||
InstallAppDefaults(XVkbd-korean)
|
||||
InstallAppDefaults(XVkbd-latin1)
|
||||
InstallAppDefaults(XVkbd-norwegian)
|
||||
InstallAppDefaults(XVkbd-portuguese)
|
||||
InstallAppDefaults(XVkbd-russian)
|
||||
InstallAppDefaults(XVkbd-slovene)
|
||||
InstallAppDefaults(XVkbd-small)
|
||||
InstallAppDefaults(XVkbd-spanish)
|
||||
InstallAppDefaults(XVkbd-swedish)
|
||||
InstallAppDefaults(XVkbd-swissgerman)
|
||||
InstallAppDefaults(XVkbd-turkish)
|
||||
InstallAppDefaults(XVkbd-uk)
|
||||
InstallAppDefaults(XVkbd-strip)
|
||||
|
||||
|
||||
XCOMM ============================
|
||||
XCOMM These rules are only for me
|
||||
|
||||
_distclean: clean
|
||||
-rm Makefile
|
||||
|
||||
XVkbd-common.h: XVkbd-common.ad
|
||||
-which ad2c > /dev/null && ad2c XVkbd-common.ad > XVkbd-common.h
|
||||
|
||||
HTML = $(HOME)/public_html/homepage3.nifty.com/xvkbd/index.html
|
||||
_readme:
|
||||
-[ -f $(HTML) ] && html2man $(HTML) > xvkbd.man
|
||||
( echo ".pl 10000"; echo ".ll 75"; echo ".hy 0"; echo ".ad l" ) | \
|
||||
cat - xvkbd.man | groff -Tascii -man | sed 's/.//g' | \
|
||||
head -9000 | cat -s | tail -n +3 > README
|
||||
|
||||
XCOMM ============================
|
1053
development/autotests/xvkbd/README
Normal file
1053
development/autotests/xvkbd/README
Normal file
File diff suppressed because it is too large
Load Diff
70
development/autotests/xvkbd/XVkbd-belgian.ad
Normal file
70
development/autotests/xvkbd/XVkbd-belgian.ad
Normal file
@ -0,0 +1,70 @@
|
||||
!! XVkbd-belgian.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Belgian layout, roughly taken from
|
||||
! xkeycaps's "102 key, wide Delete, tall Enter / XFree86; Belgian"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Belgian)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape & é " ' ( § è ! ç à ) - ² µ \n\
|
||||
Tab a z e r t y u i o p ^ $ Delete \n\
|
||||
Control_L q s d f g h j k l m ù Return \n\
|
||||
Shift_L < w x c v b n , ; : = Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ° _ ³ £ \n\
|
||||
Tab A Z E R T Y U I O P ¨ * Delete \n\
|
||||
Control_L Q S D F G H J K L M % Return \n\
|
||||
Shift_L > W X C V B N ? . / + Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape | @ # ' ( ^ è ! { } ) - ² ` \n\
|
||||
Tab a z e r t y u i o p [ ] Delete \n\
|
||||
Control_L q s d f g h j k l m ' Return \n\
|
||||
Shift_L \\ w x c v b n , ; : ~ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1\n&_| 2\né_@ 3\n"_# 4\n' 5\n( 6\n§_^ 7\nè 8\n! 9\nç_{ 0\nà_} °\n) _\n- ³\n² £\nµ_` \n\
|
||||
Tab A Z E R T Y U I O P ¨\n^_[ *\n$_] Del \n\
|
||||
Control Q S D F G H J K L M %\nù_' Return \n\
|
||||
Shift >\n<_\\ W X C V B N ?\n, .\n; /\n: +\n=_~ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc & é " ' ( § è ! ç à ) - ² µ \n\
|
||||
Tab a z e r t y u i o p ^ $ Del \n\
|
||||
Ctrl q s d f g h j k l m ù Return \n\
|
||||
Shift < w x c v b n , ; : = Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ° _ ³ £ \n\
|
||||
Tab A Z E R T Y U I O P ¨ * Del \n\
|
||||
Ctrl Q S D F G H J K L M % Return \n\
|
||||
Shift > W X C V B N ? . / + Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc | @ # ' ( ^ è ! { } ) - ² ` \n\
|
||||
Tab a z e r t y u i o p [ ] Del \n\
|
||||
Ctrl q s d f g h j k l m ' Return \n\
|
||||
Shift \\ w x c v b n , ; : ~ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
349
development/autotests/xvkbd/XVkbd-common.ad
Normal file
349
development/autotests/xvkbd/XVkbd-common.ad
Normal file
@ -0,0 +1,349 @@
|
||||
!! XVkbd-common - default setting for xvkbd-2.2
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-17
|
||||
!
|
||||
! These settings are hardcoded in xvkbd.c as fallback resouces, too,
|
||||
! and this file is not required in general.
|
||||
! This is intended to be included in another app-defaults files
|
||||
! (XVkbd-german, for example), as:
|
||||
!
|
||||
! #include "XVkbd-common"
|
||||
!
|
||||
! because fallback resouces may be ignored when such app-defaults file
|
||||
! (application class resource file) is loaded.
|
||||
|
||||
XVkbd.title: xvkbd - Virtual Keyboard
|
||||
XVkbd.iconName: xvkbd
|
||||
XVkbd*input: false
|
||||
XVkbd*props_panel.input: true
|
||||
XVkbd*display_panel.input: true
|
||||
XVkbd.mappedWhenManaged: false
|
||||
XVkbd.translations: #override \
|
||||
<Message>WM_PROTOCOLS: DeleteWindowProc()\n\
|
||||
<Configure>: WindowResized()\n\
|
||||
<MappingNotify>: ReadKeymap()\n\
|
||||
<Visible>: VisibilityChanged()
|
||||
XVkbd.Form.translations: <BtnDown>:
|
||||
XVkbd.Form.?.translations: <BtnDown>:
|
||||
XVkbd*Command.translations: #override \n\
|
||||
<EnterWindow>: ShowBalloon() highlight() \n\
|
||||
<LeaveWindow>: CloseBalloon() unhighlight() \n\
|
||||
<BtnDown>: ButtonDownAction() set()\n\
|
||||
<BtnUp>: notify() unset() ButtonUpAction()
|
||||
XVkbd*Repeater.translations: #override \n\
|
||||
<EnterWindow>: ShowBalloon() highlight() \n\
|
||||
<LeaveWindow>: CloseBalloon() unhighlight() \n\
|
||||
<BtnDown>: ButtonDownAction() set() start() \n\
|
||||
<BtnUp>: stop() unset() ButtonUpAction()
|
||||
XVkbd*MenuButton.translations: #override \n\
|
||||
<EnterWindow>: ShowBalloon() highlight() \n\
|
||||
<LeaveWindow>: CloseBalloon() unhighlight()
|
||||
XVkbd.TransientShell.translations: #override \n\
|
||||
<Message>WM_PROTOCOLS: ClosePopupPanel()
|
||||
XVkbd*Text*translations: #override \
|
||||
<Key>Return: \n\
|
||||
<Key>Linefeed: \n\
|
||||
Ctrl<Key>m: \n\
|
||||
Ctrl<Key>j:
|
||||
XVkbd*Repeater.initialDelay: 600
|
||||
XVkbd*Repeater.minimumDelay: 100
|
||||
XVkbd*Repeater.decay: 500
|
||||
|
||||
XVkbd*Font: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
XVkbd*generalFont: -*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
XVkbd*letterFont: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
XVkbd*specialFont: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
XVkbd*keypadFont: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1
|
||||
XVkbd*banner.font: -*-lucida-bold-i-*-*-14-*-*-*-*-*-iso8859-1
|
||||
XVkbd*display_panel*label.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
|
||||
XVkbd*beNiceToColormap: false
|
||||
XVkbd*topShadowContrast: 40
|
||||
XVkbd*bottomShadowContrast: 80
|
||||
XVkbd*shadowWidth: 2
|
||||
XVkbd*Label.shadowWidth: 0
|
||||
XVkbd*MainMenu.shadowWidth: 0
|
||||
XVkbd*MainMenu.topShadowContrast: 0
|
||||
XVkbd*MainMenu.bottomShadowContrast: 0
|
||||
XVkbd*Background: gray85
|
||||
XVkbd*Text*background: white
|
||||
XVkbd*specialBackground: gray75
|
||||
XVkbd*focusBackground: bisque2
|
||||
XVkbd*remoteFocusBackground: lightcyan1
|
||||
XVkbd*Foreground: black
|
||||
XVkbd*highlightBackground: gray90
|
||||
XVkbd*highlightForeground: forestgreen
|
||||
XVkbd*highlightThickness: 1
|
||||
XVkbd*Form.resizable: true
|
||||
XVkbd*defaultDistance: 0
|
||||
XVkbd*Form.borderWidth: 0
|
||||
XVkbd*Label.borderWidth: 0
|
||||
XVkbd*Command.internalWidth: 2
|
||||
XVkbd*Repeater.internalWidth: 2
|
||||
XVkbd*Command.resize: false
|
||||
XVkbd*Repeater.resize: false
|
||||
XVkbd*Command.justify: center
|
||||
XVkbd*Repeater.justify: center
|
||||
|
||||
XVkbd*row1.vertDistance: 5
|
||||
XVkbd*F5.horizDistance: 5
|
||||
XVkbd*F9.horizDistance: 5
|
||||
XVkbd*BackSpace.horizDistance: 5
|
||||
|
||||
XVkbd*Command.height: 30
|
||||
XVkbd*Repeater.height: 30
|
||||
XVkbd*banner.height: 30
|
||||
XVkbd*row0.Repeater.height: 25
|
||||
XVkbd*Command.width: 30
|
||||
XVkbd*Repeater.width: 30
|
||||
XVkbd*space.width: 80
|
||||
XVkbd*Tab.width: 45
|
||||
XVkbd*Control_L.width: 60
|
||||
XVkbd*Shift_L.width: 75
|
||||
XVkbd*Shift_R.width: 40
|
||||
XVkbd*Multi_key.width: 35
|
||||
XVkbd*Caps_Lock.width: 35
|
||||
XVkbd*Alt_L.width: 38
|
||||
XVkbd*Alt_R.width: 38
|
||||
XVkbd*Meta_L.width: 38
|
||||
XVkbd*Meta_R.width: 38
|
||||
XVkbd*BackSpace.width: 75
|
||||
XVkbd*Delete.width: 45
|
||||
XVkbd*Return.width: 60
|
||||
XVkbd*row5.Focus.width: 35
|
||||
xvkbd*Mode_switch.width: 45
|
||||
|
||||
XVkbd*keypad.vertDistance: 5
|
||||
XVkbd*keypad.horizDistance: 10
|
||||
XVkbd*keypad*Command.width: 35
|
||||
XVkbd*keypad*Repeater.width: 35
|
||||
XVkbd*keypad*Command.justify: left
|
||||
XVkbd*keypad*Repeater.justify: left
|
||||
XVkbd*keypad*pad3,3.height: 60
|
||||
XVkbd*keypad*pad4,0.width: 70
|
||||
|
||||
XVkbd.balloonBackground: LightYellow1
|
||||
XVkbd.launchBalloonBackground: LightCyan1
|
||||
XVkbd*balloon_panel.Label.width: 150
|
||||
XVkbd*balloon_panel.Label.resize: false
|
||||
XVkbd*balloon_panel.Label.justify: left
|
||||
|
||||
XVkbd*banner.width: 150
|
||||
XVkbd*banner.justify: right
|
||||
XVkbd*MainMenu.width: 0
|
||||
XVkbd*MainMenu.label: xvkbd
|
||||
XVkbd*MainMenu.justify: left
|
||||
XVkbd*MainMenu.internalWidth: 2
|
||||
XVkbd*MainMenu.highlightThickness: 0
|
||||
|
||||
XVkbd*menu.about.label: About...
|
||||
XVkbd*menu.man.label: Manual...
|
||||
XVkbd*menu.keypad.label: Keypad...
|
||||
XVkbd*menu.sun_fkey.label: Sun Function Keys...
|
||||
XVkbd*menu.deadkey.label: Dead Keys...
|
||||
XVkbd*menu.completion.label: Word Completion...
|
||||
XVkbd*menu.select_layout.label: Change Keyboard Layout...
|
||||
XVkbd*menu.edit_fkey.label: Edit Function Keys...
|
||||
XVkbd*menu.show_keypad.label: Show Keypad?
|
||||
XVkbd*menu.show_functionkey.label: Show Function Keys?
|
||||
XVkbd*menu.props.label: Property...
|
||||
XVkbd*menu.open_display.label: Connect to Remote Display...
|
||||
XVkbd*menu.close_display.label: Revert to Local Display
|
||||
XVkbd*menu.quit.label: Quit
|
||||
XVkbd*menu.SmeBSB.rightMargin: 30
|
||||
|
||||
XVkbd*props_panel.title: xvkbd - proprety
|
||||
XVkbd*props_panel*defaultDistance: 10
|
||||
XVkbd*props_panel*vertDistance: 5
|
||||
XVkbd*props_panel*always_on_top.label: Always on Top?
|
||||
XVkbd*props_panel*wm_toolbar.label: Behave as Toolbar Window?
|
||||
XVkbd*props_panel*shift_lock.label: Lock Shift?
|
||||
XVkbd*props_panel*altgr_lock.label: Lock AltGr?
|
||||
XVkbd*props_panel*modifiers_lock.label: Lock Control, Alt and Meta?
|
||||
XVkbd*props_panel*quick_modifiers.label: Enable "Quick Modifiers"?
|
||||
XVkbd*props_panel*use_xtest.label: Use XTEST Extension?
|
||||
XVkbd*props_panel*jump_pointer.label: Jump Pointer?
|
||||
XVkbd*props_panel*dict_entry_label.label: Completion Dictionary:
|
||||
XVkbd*props_panel*dict_default_button.label: Default
|
||||
XVkbd*props_panel*click.label: Key-Click Sound:
|
||||
XVkbd*props_panel*autoclick.label: Automatic Click:
|
||||
XVkbd*props_panel*Command.internalWidth: 4
|
||||
XVkbd*props_panel*Command.width: 0
|
||||
XVkbd*props_panel*Command.height: 0
|
||||
XVkbd*props_panel*dismiss.label: Dismiss
|
||||
XVkbd*props_panel*dismiss.vertDistance: 10
|
||||
XVkbd*props_panel*Toggle.width: 200
|
||||
XVkbd*props_panel*Toggle.justify: left
|
||||
XVkbd*props_panel*dict_entry.width: 220
|
||||
XVkbd*props_panel*left: chainLeft
|
||||
XVkbd*props_panel*right: chainLeft
|
||||
XVkbd*props_panel*top: chainTop
|
||||
XVkbd*props_panel*bottom: chainTop
|
||||
XVkbd*props_panel*dict_entry.left: chainLeft
|
||||
XVkbd*props_panel*dict_entry.right: chainRight
|
||||
XVkbd*props_panel*dict_default_button.left: chainRight
|
||||
XVkbd*props_panel*dict_default_button.right: chainRight
|
||||
|
||||
XVkbd.about_panel.title: xvkbd - about this program
|
||||
XVkbd.keypad_panel.title: xvkbd - keypad
|
||||
XVkbd.sun_fkey_panel.title: xvkbd - Sun
|
||||
XVkbd.display_panel.title: xvkbd - Remote Display
|
||||
|
||||
XVkbd.sun_fkey_panel*Repeater.width: 35
|
||||
XVkbd.sun_fkey_panel*Help.width: 70
|
||||
XVkbd.sun_fkey_panel*justify: left
|
||||
|
||||
XVkbd.display_panel*label.label: Remote Display:
|
||||
XVkbd.display_panel*ok.label: Connect
|
||||
XVkbd.display_panel*Text.width: 150
|
||||
XVkbd.display_panel*defaultDistance: 3
|
||||
XVkbd.display_panel*Command.width: 0
|
||||
XVkbd.display_panel*Command.height: 0
|
||||
XVkbd.display_panel*Command.internalWidth: 4
|
||||
XVkbd.display_panel*Label.width: 0
|
||||
XVkbd.display_panel*Label.resizable: true
|
||||
|
||||
XVkbd*layout_panel.title: xvkbd - layout
|
||||
|
||||
XVkbd*layout_panel*Command.width: 150
|
||||
XVkbd*layout_panel*Command.height: 0
|
||||
XVkbd*layout_panel*vSpace: 2
|
||||
XVkbd*layout_panel.box.width: 320
|
||||
XVkbd*layout_panel.box.orientation: vertical
|
||||
|
||||
XVkbd*completion_panel.title: xvkbd - word completion
|
||||
XVkbd*completion_panel*Label.justify: left
|
||||
XVkbd*completion_panel*entry.width: 200
|
||||
XVkbd*completion_panel*view.allowVert: true
|
||||
XVkbd*completion_panel*view.useRight: true
|
||||
XVkbd*completion_panel*view.forceBars: true
|
||||
XVkbd*completion_panel*view.list.width: 400
|
||||
XVkbd*completion_panel*view.list.height: 150
|
||||
|
||||
XVkbd*completion_panel*label.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
XVkbd*completion_panel*list.font: -*-lucida-medium-r-*-*-14-*-*-*-*-*-iso8859-1
|
||||
XVkbd*completion_panel*label.label: Completion:
|
||||
XVkbd*completion_panel*bottom: chainTop
|
||||
XVkbd*completion_panel*label.right: chainLeft
|
||||
XVkbd*completion_panel*entry.left: chainLeft
|
||||
XVkbd*completion_panel*view.top: chainTop
|
||||
XVkbd*completion_panel*view.bottom: chainBottom
|
||||
XVkbd*completion_panel*view.right: chainRight
|
||||
|
||||
XVkbd*edit_fkey_panel.title: xvkbd - edit function keys
|
||||
XVkbd*edit_fkey_panel.input: true
|
||||
XVkbd*edit_fkey_panel*defaultDistance: 4
|
||||
XVkbd*edit_fkey_panel*form2*vertDistance: 6
|
||||
XVkbd*edit_fkey_panel*width: 0
|
||||
XVkbd*edit_fkey_panel*height: 0
|
||||
XVkbd*edit_fkey_panel*internalWidth: 4
|
||||
XVkbd*edit_fkey_panel*MenuButton.shadowWidth: 2
|
||||
XVkbd*edit_fkey_panel*form2.borderWidth: 1
|
||||
XVkbd*edit_fkey_panel*form2.?.left: chainLeft
|
||||
XVkbd*edit_fkey_panel*form2.?.right: chainLeft
|
||||
XVkbd*edit_fkey_panel*form2.fkey_value.right: chainRight
|
||||
XVkbd*edit_fkey_panel*Command.left: chainLeft
|
||||
XVkbd*edit_fkey_panel*Command.right: chainLeft
|
||||
XVkbd*edit_fkey_panel*fkey_menu.fromHoriz: fkey_label
|
||||
XVkbd*edit_fkey_panel*fkey_value_menu.fromVert: fkey_label
|
||||
XVkbd*edit_fkey_panel*fkey_value.fromVert: fkey_label
|
||||
XVkbd*edit_fkey_panel*fkey_value_sep.fromVert: fkey_label
|
||||
XVkbd*edit_fkey_panel*fkey_value_sep.fromHoriz: fkey_value_menu
|
||||
XVkbd*edit_fkey_panel*fkey_value.fromHoriz: fkey_value_sep
|
||||
XVkbd*edit_fkey_panel*fkey_value.width: 200
|
||||
XVkbd*edit_fkey_panel*fkey_value.height: 22
|
||||
XVkbd*edit_fkey_panel*save_button.fromVert: form2
|
||||
XVkbd*edit_fkey_panel*close_button.fromVert: form2
|
||||
XVkbd*edit_fkey_panel*close_button.fromHoriz: save_button
|
||||
|
||||
XVkbd*edit_fkey_panel*justify: left
|
||||
XVkbd*edit_fkey_panel*fkey_menu.label: Shift-F999
|
||||
XVkbd*edit_fkey_panel*fkey_label.label: Function Key:
|
||||
XVkbd*edit_fkey_panel*fkey_value_menu.label: Assigned Command
|
||||
XVkbd*edit_fkey_panel*fkey_value_menu*string.label: Assigned String
|
||||
XVkbd*edit_fkey_panel*fkey_value_menu*command.label: Assigned Command
|
||||
XVkbd*edit_fkey_panel*fkey_value_sep.label: :
|
||||
XVkbd*edit_fkey_panel*fkey_value_sep.horizDistance: 0
|
||||
XVkbd*edit_fkey_panel*save_button.label: Save
|
||||
XVkbd*edit_fkey_panel*close_button.label: Close
|
||||
|
||||
XVkbd*edit_fkey_panel*Label.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
XVkbd*edit_fkey_panel*fkey_value_menu.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
|
||||
|
||||
!! Dead Keys
|
||||
!
|
||||
XVkbd.deadkeys: dead_diaeresis,dead_acute,dead_grave,\
|
||||
dead_circumflex,dead_macron,dead_abovering,dead_doubleacute,\
|
||||
dead_tilde,dead_abovedot
|
||||
|
||||
XVkbd*deadkey_panel.title: xvkbd - dead keys
|
||||
XVkbd*deadkey_panel*font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-1
|
||||
XVkbd*deadkey_panel*Repeater.width: 30
|
||||
XVkbd*deadkey_panel*Repeater.height: 36
|
||||
XVkbd*deadkey_panel*dead_diaeresis.label: \250
|
||||
XVkbd*deadkey_panel*dead_acute.label: \264
|
||||
XVkbd*deadkey_panel*dead_grave.label: `
|
||||
XVkbd*deadkey_panel*dead_circumflex.label: ^
|
||||
XVkbd*deadkey_panel*dead_macron.label: \257
|
||||
XVkbd*deadkey_panel*dead_abovering.label: \260
|
||||
XVkbd*deadkey_panel*dead_doubleacute.label: \264\264
|
||||
XVkbd*deadkey_panel*dead_tilde.label: ~
|
||||
XVkbd*deadkey_panel*dead_abovedot.label: \267
|
||||
|
||||
!! keyboard layouts
|
||||
!
|
||||
XVkbd.customizations: default,belgian,danish,fitaly,\
|
||||
french,french2,german,greek,hebrew,icelandic,italian,\
|
||||
jisx6002/ja_JP.eucJP,jisx6004/ja_JP.eucJP,korean/ko_KR.eucKR,\
|
||||
norwegian,portuguese,russian/ru_RU.KOI8-R,slovene,spanish,\
|
||||
swedish,swissgerman,turkish,uk,latin1,small,strip
|
||||
|
||||
XVkbd*layout_panel*default.label: Default
|
||||
XVkbd*layout_panel*belgian.label: Belgian
|
||||
XVkbd*layout_panel*danish.label: Danish
|
||||
XVkbd*layout_panel*fitaly.label: Fitaly
|
||||
XVkbd*layout_panel*french.label: French
|
||||
XVkbd*layout_panel*french2.label: French (2)
|
||||
XVkbd*layout_panel*german.label: German
|
||||
XVkbd*layout_panel*greek.label: Greek
|
||||
XVkbd*layout_panel*hebrew.label: Hebrew
|
||||
XVkbd*layout_panel*icelandic.label: Icelandic
|
||||
XVkbd*layout_panel*italian.label: Italian
|
||||
XVkbd*layout_panel*jisx6002.label: Japanese
|
||||
XVkbd*layout_panel*jisx6004.label: Japanese (JIS X 6004)
|
||||
XVkbd*layout_panel*korean.label: Korean
|
||||
XVkbd*layout_panel*norwegian.label: Norwegian
|
||||
XVkbd*layout_panel*portuguese.label: Portuguese
|
||||
XVkbd*layout_panel*russian.label: Russian
|
||||
XVkbd*layout_panel*slovene.label: Slovene
|
||||
XVkbd*layout_panel*spanish.label: Spanish
|
||||
XVkbd*layout_panel*swedish.label: Swedish
|
||||
XVkbd*layout_panel*swissgerman.label: Swiss/German
|
||||
XVkbd*layout_panel*turkish.label: Turkish
|
||||
XVkbd*layout_panel*uk.label: United Kingdom
|
||||
XVkbd*layout_panel*latin1.label: Latin-1
|
||||
XVkbd*layout_panel*small.label: Small Keyboard
|
||||
XVkbd*layout_panel*strip.label: Key Strip
|
||||
|
||||
XVkbd*Iconify.width: 20
|
||||
XVkbd*Iconify.shadowWidth: 0
|
||||
XVkbd*Iconify.resizable: false
|
||||
XVkbd*iconified_window*hSpace: 0
|
||||
XVkbd*iconified_window*vSpace: 0
|
||||
XVkbd*iconified_window*shadowWidth: 0
|
||||
|
||||
!! uncomment the following lines when genuine Xaw is used instead of Xaw3d
|
||||
!
|
||||
! XVkbd*keypad*pad3,3.height: 62
|
||||
! XVkbd*keypad*pad4,0.width: 72
|
||||
|
||||
!! Sample settings to make window small - see also XVkbd-small.ad
|
||||
!
|
||||
!xvkbd.windowGeometry: 300x100
|
||||
!xvkbd.modalKeytop: true
|
||||
!xvkbd.compact: true
|
||||
|
||||
!! You should set the label font if you want to make the window small.
|
||||
!
|
||||
!xvkbd*Font: -misc-fixed-medium-r-semicondensed--13-*-iso8859-1
|
291
development/autotests/xvkbd/XVkbd-common.h
Normal file
291
development/autotests/xvkbd/XVkbd-common.h
Normal file
@ -0,0 +1,291 @@
|
||||
"XVkbd.title: xvkbd - Virtual Keyboard",
|
||||
"XVkbd.iconName: xvkbd",
|
||||
"XVkbd*input: false",
|
||||
"XVkbd*props_panel.input: true",
|
||||
"XVkbd*display_panel.input: true",
|
||||
"XVkbd.mappedWhenManaged: false",
|
||||
"XVkbd.translations: #override \
|
||||
<Message>WM_PROTOCOLS: DeleteWindowProc()\\n\
|
||||
<Configure>: WindowResized()\\n\
|
||||
<MappingNotify>: ReadKeymap()\\n\
|
||||
<Visible>: VisibilityChanged()",
|
||||
"XVkbd.Form.translations: <BtnDown>:",
|
||||
"XVkbd.Form.?.translations: <BtnDown>:",
|
||||
"XVkbd*Command.translations: #override \\n\
|
||||
<EnterWindow>: ShowBalloon() highlight() \\n\
|
||||
<LeaveWindow>: CloseBalloon() unhighlight() \\n\
|
||||
<BtnDown>: ButtonDownAction() set()\\n\
|
||||
<BtnUp>: notify() unset() ButtonUpAction()",
|
||||
"XVkbd*Repeater.translations: #override \\n\
|
||||
<EnterWindow>: ShowBalloon() highlight() \\n\
|
||||
<LeaveWindow>: CloseBalloon() unhighlight() \\n\
|
||||
<BtnDown>: ButtonDownAction() set() start() \\n\
|
||||
<BtnUp>: stop() unset() ButtonUpAction()",
|
||||
"XVkbd*MenuButton.translations: #override \\n\
|
||||
<EnterWindow>: ShowBalloon() highlight() \\n\
|
||||
<LeaveWindow>: CloseBalloon() unhighlight()",
|
||||
"XVkbd.TransientShell.translations: #override \\n\
|
||||
<Message>WM_PROTOCOLS: ClosePopupPanel()",
|
||||
"XVkbd*Text*translations: #override \
|
||||
<Key>Return: \\n\
|
||||
<Key>Linefeed: \\n\
|
||||
Ctrl<Key>m: \\n\
|
||||
Ctrl<Key>j:",
|
||||
"XVkbd*Repeater.initialDelay: 600",
|
||||
"XVkbd*Repeater.minimumDelay: 100",
|
||||
"XVkbd*Repeater.decay: 500",
|
||||
"XVkbd*Font: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*generalFont: -*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*letterFont: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*specialFont: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*keypadFont: -*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*banner.font: -*-lucida-bold-i-*-*-14-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*display_panel*label.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*beNiceToColormap: false",
|
||||
"XVkbd*topShadowContrast: 40",
|
||||
"XVkbd*bottomShadowContrast: 80",
|
||||
"XVkbd*shadowWidth: 2",
|
||||
"XVkbd*Label.shadowWidth: 0",
|
||||
"XVkbd*MainMenu.shadowWidth: 0",
|
||||
"XVkbd*MainMenu.topShadowContrast: 0",
|
||||
"XVkbd*MainMenu.bottomShadowContrast: 0",
|
||||
"XVkbd*Background: gray85",
|
||||
"XVkbd*Text*background: white",
|
||||
"XVkbd*specialBackground: gray75",
|
||||
"XVkbd*focusBackground: bisque2",
|
||||
"XVkbd*remoteFocusBackground: lightcyan1",
|
||||
"XVkbd*Foreground: black",
|
||||
"XVkbd*highlightBackground: gray90",
|
||||
"XVkbd*highlightForeground: forestgreen",
|
||||
"XVkbd*highlightThickness: 1",
|
||||
"XVkbd*Form.resizable: true",
|
||||
"XVkbd*defaultDistance: 0",
|
||||
"XVkbd*Form.borderWidth: 0",
|
||||
"XVkbd*Label.borderWidth: 0",
|
||||
"XVkbd*Command.internalWidth: 2",
|
||||
"XVkbd*Repeater.internalWidth: 2",
|
||||
"XVkbd*Command.resize: false",
|
||||
"XVkbd*Repeater.resize: false",
|
||||
"XVkbd*Command.justify: center",
|
||||
"XVkbd*Repeater.justify: center",
|
||||
"XVkbd*row1.vertDistance: 5",
|
||||
"XVkbd*F5.horizDistance: 5",
|
||||
"XVkbd*F9.horizDistance: 5",
|
||||
"XVkbd*BackSpace.horizDistance: 5",
|
||||
"XVkbd*Command.height: 30",
|
||||
"XVkbd*Repeater.height: 30",
|
||||
"XVkbd*banner.height: 30",
|
||||
"XVkbd*row0.Repeater.height: 25",
|
||||
"XVkbd*Command.width: 30",
|
||||
"XVkbd*Repeater.width: 30",
|
||||
"XVkbd*space.width: 80",
|
||||
"XVkbd*Tab.width: 45",
|
||||
"XVkbd*Control_L.width: 60",
|
||||
"XVkbd*Shift_L.width: 75",
|
||||
"XVkbd*Shift_R.width: 40",
|
||||
"XVkbd*Multi_key.width: 35",
|
||||
"XVkbd*Caps_Lock.width: 35",
|
||||
"XVkbd*Alt_L.width: 38",
|
||||
"XVkbd*Alt_R.width: 38",
|
||||
"XVkbd*Meta_L.width: 38",
|
||||
"XVkbd*Meta_R.width: 38",
|
||||
"XVkbd*BackSpace.width: 75",
|
||||
"XVkbd*Delete.width: 45",
|
||||
"XVkbd*Return.width: 60",
|
||||
"XVkbd*row5.Focus.width: 35",
|
||||
"xvkbd*Mode_switch.width: 45",
|
||||
"XVkbd*keypad.vertDistance: 5",
|
||||
"XVkbd*keypad.horizDistance: 10",
|
||||
"XVkbd*keypad*Command.width: 35",
|
||||
"XVkbd*keypad*Repeater.width: 35",
|
||||
"XVkbd*keypad*Command.justify: left",
|
||||
"XVkbd*keypad*Repeater.justify: left",
|
||||
"XVkbd*keypad*pad3,3.height: 60",
|
||||
"XVkbd*keypad*pad4,0.width: 70",
|
||||
"XVkbd.balloonBackground: LightYellow1",
|
||||
"XVkbd.launchBalloonBackground: LightCyan1",
|
||||
"XVkbd*balloon_panel.Label.width: 150",
|
||||
"XVkbd*balloon_panel.Label.resize: false",
|
||||
"XVkbd*balloon_panel.Label.justify: left",
|
||||
"XVkbd*banner.width: 150",
|
||||
"XVkbd*banner.justify: right",
|
||||
"XVkbd*MainMenu.width: 0",
|
||||
"XVkbd*MainMenu.label: xvkbd",
|
||||
"XVkbd*MainMenu.justify: left",
|
||||
"XVkbd*MainMenu.internalWidth: 2",
|
||||
"XVkbd*MainMenu.highlightThickness: 0",
|
||||
"XVkbd*menu.about.label: About...",
|
||||
"XVkbd*menu.man.label: Manual...",
|
||||
"XVkbd*menu.keypad.label: Keypad...",
|
||||
"XVkbd*menu.sun_fkey.label: Sun Function Keys...",
|
||||
"XVkbd*menu.deadkey.label: Dead Keys...",
|
||||
"XVkbd*menu.completion.label: Word Completion...",
|
||||
"XVkbd*menu.select_layout.label: Change Keyboard Layout...",
|
||||
"XVkbd*menu.edit_fkey.label: Edit Function Keys...",
|
||||
"XVkbd*menu.show_keypad.label: Show Keypad?",
|
||||
"XVkbd*menu.show_functionkey.label: Show Function Keys?",
|
||||
"XVkbd*menu.props.label: Property...",
|
||||
"XVkbd*menu.open_display.label: Connect to Remote Display...",
|
||||
"XVkbd*menu.close_display.label: Revert to Local Display",
|
||||
"XVkbd*menu.quit.label: Quit",
|
||||
"XVkbd*menu.SmeBSB.rightMargin: 30",
|
||||
"XVkbd*props_panel.title: xvkbd - proprety",
|
||||
"XVkbd*props_panel*defaultDistance: 10",
|
||||
"XVkbd*props_panel*vertDistance: 5",
|
||||
"XVkbd*props_panel*always_on_top.label: Always on Top?",
|
||||
"XVkbd*props_panel*wm_toolbar.label: Behave as Toolbar Window?",
|
||||
"XVkbd*props_panel*shift_lock.label: Lock Shift?",
|
||||
"XVkbd*props_panel*altgr_lock.label: Lock AltGr?",
|
||||
"XVkbd*props_panel*modifiers_lock.label: Lock Control, Alt and Meta?",
|
||||
"XVkbd*props_panel*quick_modifiers.label: Enable \"Quick Modifiers\"?",
|
||||
"XVkbd*props_panel*use_xtest.label: Use XTEST Extension?",
|
||||
"XVkbd*props_panel*jump_pointer.label: Jump Pointer?",
|
||||
"XVkbd*props_panel*dict_entry_label.label: Completion Dictionary: ",
|
||||
"XVkbd*props_panel*dict_default_button.label: Default",
|
||||
"XVkbd*props_panel*click.label: Key-Click Sound:",
|
||||
"XVkbd*props_panel*autoclick.label: Automatic Click:",
|
||||
"XVkbd*props_panel*Command.internalWidth: 4",
|
||||
"XVkbd*props_panel*Command.width: 0",
|
||||
"XVkbd*props_panel*Command.height: 0",
|
||||
"XVkbd*props_panel*dismiss.label: Dismiss",
|
||||
"XVkbd*props_panel*dismiss.vertDistance: 10",
|
||||
"XVkbd*props_panel*Toggle.width: 200",
|
||||
"XVkbd*props_panel*Toggle.justify: left",
|
||||
"XVkbd*props_panel*dict_entry.width: 220",
|
||||
"XVkbd*props_panel*left: chainLeft",
|
||||
"XVkbd*props_panel*right: chainLeft",
|
||||
"XVkbd*props_panel*top: chainTop",
|
||||
"XVkbd*props_panel*bottom: chainTop",
|
||||
"XVkbd*props_panel*dict_entry.left: chainLeft",
|
||||
"XVkbd*props_panel*dict_entry.right: chainRight",
|
||||
"XVkbd*props_panel*dict_default_button.left: chainRight",
|
||||
"XVkbd*props_panel*dict_default_button.right: chainRight",
|
||||
"XVkbd.about_panel.title: xvkbd - about this program",
|
||||
"XVkbd.keypad_panel.title: xvkbd - keypad",
|
||||
"XVkbd.sun_fkey_panel.title: xvkbd - Sun",
|
||||
"XVkbd.display_panel.title: xvkbd - Remote Display",
|
||||
"XVkbd.sun_fkey_panel*Repeater.width: 35",
|
||||
"XVkbd.sun_fkey_panel*Help.width: 70",
|
||||
"XVkbd.sun_fkey_panel*justify: left",
|
||||
"XVkbd.display_panel*label.label: Remote Display:",
|
||||
"XVkbd.display_panel*ok.label: Connect",
|
||||
"XVkbd.display_panel*Text.width: 150",
|
||||
"XVkbd.display_panel*defaultDistance: 3",
|
||||
"XVkbd.display_panel*Command.width: 0",
|
||||
"XVkbd.display_panel*Command.height: 0",
|
||||
"XVkbd.display_panel*Command.internalWidth: 4",
|
||||
"XVkbd.display_panel*Label.width: 0",
|
||||
"XVkbd.display_panel*Label.resizable: true",
|
||||
"XVkbd*layout_panel.title: xvkbd - layout",
|
||||
"XVkbd*layout_panel*Command.width: 150",
|
||||
"XVkbd*layout_panel*Command.height: 0",
|
||||
"XVkbd*layout_panel*vSpace: 2",
|
||||
"XVkbd*layout_panel.box.width: 320",
|
||||
"XVkbd*layout_panel.box.orientation: vertical",
|
||||
"XVkbd*completion_panel.title: xvkbd - word completion",
|
||||
"XVkbd*completion_panel*Label.justify: left",
|
||||
"XVkbd*completion_panel*entry.width: 200",
|
||||
"XVkbd*completion_panel*view.allowVert: true",
|
||||
"XVkbd*completion_panel*view.useRight: true",
|
||||
"XVkbd*completion_panel*view.forceBars: true",
|
||||
"XVkbd*completion_panel*view.list.width: 400",
|
||||
"XVkbd*completion_panel*view.list.height: 150",
|
||||
"XVkbd*completion_panel*label.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*completion_panel*list.font: -*-lucida-medium-r-*-*-14-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*completion_panel*label.label: Completion:",
|
||||
"XVkbd*completion_panel*bottom: chainTop",
|
||||
"XVkbd*completion_panel*label.right: chainLeft",
|
||||
"XVkbd*completion_panel*entry.left: chainLeft",
|
||||
"XVkbd*completion_panel*view.top: chainTop",
|
||||
"XVkbd*completion_panel*view.bottom: chainBottom",
|
||||
"XVkbd*completion_panel*view.right: chainRight",
|
||||
"XVkbd*edit_fkey_panel.title: xvkbd - edit function keys",
|
||||
"XVkbd*edit_fkey_panel.input: true",
|
||||
"XVkbd*edit_fkey_panel*defaultDistance: 4",
|
||||
"XVkbd*edit_fkey_panel*form2*vertDistance: 6",
|
||||
"XVkbd*edit_fkey_panel*width: 0",
|
||||
"XVkbd*edit_fkey_panel*height: 0",
|
||||
"XVkbd*edit_fkey_panel*internalWidth: 4",
|
||||
"XVkbd*edit_fkey_panel*MenuButton.shadowWidth: 2",
|
||||
"XVkbd*edit_fkey_panel*form2.borderWidth: 1",
|
||||
"XVkbd*edit_fkey_panel*form2.?.left: chainLeft",
|
||||
"XVkbd*edit_fkey_panel*form2.?.right: chainLeft",
|
||||
"XVkbd*edit_fkey_panel*form2.fkey_value.right: chainRight",
|
||||
"XVkbd*edit_fkey_panel*Command.left: chainLeft",
|
||||
"XVkbd*edit_fkey_panel*Command.right: chainLeft",
|
||||
"XVkbd*edit_fkey_panel*fkey_menu.fromHoriz: fkey_label",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_menu.fromVert: fkey_label",
|
||||
"XVkbd*edit_fkey_panel*fkey_value.fromVert: fkey_label",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_sep.fromVert: fkey_label",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_sep.fromHoriz: fkey_value_menu",
|
||||
"XVkbd*edit_fkey_panel*fkey_value.fromHoriz: fkey_value_sep",
|
||||
"XVkbd*edit_fkey_panel*fkey_value.width: 200",
|
||||
"XVkbd*edit_fkey_panel*fkey_value.height: 22",
|
||||
"XVkbd*edit_fkey_panel*save_button.fromVert: form2",
|
||||
"XVkbd*edit_fkey_panel*close_button.fromVert: form2",
|
||||
"XVkbd*edit_fkey_panel*close_button.fromHoriz: save_button",
|
||||
"XVkbd*edit_fkey_panel*justify: left",
|
||||
"XVkbd*edit_fkey_panel*fkey_menu.label: Shift-F999",
|
||||
"XVkbd*edit_fkey_panel*fkey_label.label: Function Key:",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_menu.label: Assigned Command",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_menu*string.label: Assigned String",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_menu*command.label: Assigned Command",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_sep.label: :",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_sep.horizDistance: 0",
|
||||
"XVkbd*edit_fkey_panel*save_button.label: Save",
|
||||
"XVkbd*edit_fkey_panel*close_button.label: Close",
|
||||
"XVkbd*edit_fkey_panel*Label.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*edit_fkey_panel*fkey_value_menu.font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd.deadkeys: dead_diaeresis,dead_acute,dead_grave,\
|
||||
dead_circumflex,dead_macron,dead_abovering,dead_doubleacute,\
|
||||
dead_tilde,dead_abovedot",
|
||||
"XVkbd*deadkey_panel.title: xvkbd - dead keys",
|
||||
"XVkbd*deadkey_panel*font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-1",
|
||||
"XVkbd*deadkey_panel*Repeater.width: 30",
|
||||
"XVkbd*deadkey_panel*Repeater.height: 36",
|
||||
"XVkbd*deadkey_panel*dead_diaeresis.label: \\250",
|
||||
"XVkbd*deadkey_panel*dead_acute.label: \\264",
|
||||
"XVkbd*deadkey_panel*dead_grave.label: `",
|
||||
"XVkbd*deadkey_panel*dead_circumflex.label: ^",
|
||||
"XVkbd*deadkey_panel*dead_macron.label: \\257",
|
||||
"XVkbd*deadkey_panel*dead_abovering.label: \\260",
|
||||
"XVkbd*deadkey_panel*dead_doubleacute.label: \\264\\264",
|
||||
"XVkbd*deadkey_panel*dead_tilde.label: ~",
|
||||
"XVkbd*deadkey_panel*dead_abovedot.label: \\267",
|
||||
"XVkbd.customizations: default,belgian,danish,fitaly,\
|
||||
french,french2,german,greek,hebrew,icelandic,italian,\
|
||||
jisx6002/ja_JP.eucJP,jisx6004/ja_JP.eucJP,korean/ko_KR.eucKR,\
|
||||
norwegian,portuguese,russian/ru_RU.KOI8-R,slovene,spanish,\
|
||||
swedish,swissgerman,turkish,uk,latin1,small,strip",
|
||||
"XVkbd*layout_panel*default.label: Default",
|
||||
"XVkbd*layout_panel*belgian.label: Belgian",
|
||||
"XVkbd*layout_panel*danish.label: Danish",
|
||||
"XVkbd*layout_panel*fitaly.label: Fitaly",
|
||||
"XVkbd*layout_panel*french.label: French",
|
||||
"XVkbd*layout_panel*french2.label: French (2)",
|
||||
"XVkbd*layout_panel*german.label: German",
|
||||
"XVkbd*layout_panel*greek.label: Greek",
|
||||
"XVkbd*layout_panel*hebrew.label: Hebrew",
|
||||
"XVkbd*layout_panel*icelandic.label: Icelandic",
|
||||
"XVkbd*layout_panel*italian.label: Italian",
|
||||
"XVkbd*layout_panel*jisx6002.label: Japanese",
|
||||
"XVkbd*layout_panel*jisx6004.label: Japanese (JIS X 6004)",
|
||||
"XVkbd*layout_panel*korean.label: Korean",
|
||||
"XVkbd*layout_panel*norwegian.label: Norwegian",
|
||||
"XVkbd*layout_panel*portuguese.label: Portuguese",
|
||||
"XVkbd*layout_panel*russian.label: Russian",
|
||||
"XVkbd*layout_panel*slovene.label: Slovene",
|
||||
"XVkbd*layout_panel*spanish.label: Spanish",
|
||||
"XVkbd*layout_panel*swedish.label: Swedish",
|
||||
"XVkbd*layout_panel*swissgerman.label: Swiss/German",
|
||||
"XVkbd*layout_panel*turkish.label: Turkish",
|
||||
"XVkbd*layout_panel*uk.label: United Kingdom",
|
||||
"XVkbd*layout_panel*latin1.label: Latin-1",
|
||||
"XVkbd*layout_panel*small.label: Small Keyboard",
|
||||
"XVkbd*layout_panel*strip.label: Key Strip",
|
||||
"XVkbd*Iconify.width: 20",
|
||||
"XVkbd*Iconify.shadowWidth: 0",
|
||||
"XVkbd*Iconify.resizable: false",
|
||||
"XVkbd*iconified_window*hSpace: 0",
|
||||
"XVkbd*iconified_window*vSpace: 0",
|
||||
"XVkbd*iconified_window*shadowWidth: 0",
|
70
development/autotests/xvkbd/XVkbd-danish.ad
Normal file
70
development/autotests/xvkbd/XVkbd-danish.ad
Normal file
@ -0,0 +1,70 @@
|
||||
!! XVkbd-danish.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Danish layout, roughly taken from
|
||||
! xkeycaps's "PC 105 key, wide Delete, tall Enter / XFree86; Danish"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Danish)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 + ´ ½ ' \n\
|
||||
Tab q w e r t y u i o p å ¨ Delete \n\
|
||||
Control_L a s d f g h j k l æ ø Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # ¤ % & / ( ) = ? ` § * \n\
|
||||
Tab Q W E R T Y U I O P Å ^ Delete \n\
|
||||
Control_L A S D F G H J K L Æ Ø Return \n\
|
||||
Shift_L > Z X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 @ £ $ 5 6 { [ ] } + | ½ ' \n\
|
||||
Tab q w e r t y u i o p å ~ Delete \n\
|
||||
Control_L a s d f g h j k l æ ø Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc !\n1 "\n2_@ #\n3_£ ¤\n4_$ %\n5 &\n6 /\n7_{ (\n8_[ )\n9_] =\n0_} ?\n+ `\n´_| §\n½ *\n' \n\
|
||||
Tab Q W E R T Y U I O P Å ^\n¨_~ Del \n\
|
||||
Control A S D F G H J K L Æ Ø Return \n\
|
||||
Shift >\n< Z X C V B N M ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 + ´ ½ ' \n\
|
||||
Tab q w e r t y u i o p å ¨ Del \n\
|
||||
Ctrl a s d f g h j k l æ ø Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # ¤ % & / ( ) = ? ` § * \n\
|
||||
Tab Q W E R T Y U I O P Å ^ Del \n\
|
||||
Ctrl A S D F G H J K L Æ Ø Return \n\
|
||||
Shift > Z X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 @ £ $ 5 6 { [ ] } + | ½ ' \n\
|
||||
Tab q w e r t y u i o p å ~ Del \n\
|
||||
Ctrl a s d f g h j k l æ ø Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
72
development/autotests/xvkbd/XVkbd-fitaly.ad
Normal file
72
development/autotests/xvkbd/XVkbd-fitaly.ad
Normal file
@ -0,0 +1,72 @@
|
||||
!! XVkbd-fitaly.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! with contribution from Marshall Rose
|
||||
!!
|
||||
!! Last update: 2003-06-23
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
xvkbd.title: xvkbd - Virtual Keyboard ("Fitaly" Style)
|
||||
|
||||
xvkbd.inheritGeoemetry: false
|
||||
xvkbd.compact: true
|
||||
xvkbd.form*Repeater.shadowWidth: 1
|
||||
xvkbd.form*Command.shadowWidth: 1
|
||||
xvkbd.form*Repeater.height: 20
|
||||
xvkbd.form*Command.height: 20
|
||||
xvkbd.form*Repeater.width: 20
|
||||
xvkbd.form*row0*Repeater.width: 28
|
||||
xvkbd.Form*F5.horizDistance: 0
|
||||
xvkbd.Form*F9.horizDistance: 0
|
||||
xvkbd.form*Command.width: 60
|
||||
xvkbd.form*Escape.width: 60
|
||||
xvkbd.form*Tab.width: 60
|
||||
xvkbd.form*row1.BackSpace.horizDistance: 0
|
||||
xvkbd.form*BackSpace.width: 60
|
||||
xvkbd.form*Delete.width: 60
|
||||
xvkbd.form*Return.width: 60
|
||||
xvkbd.form*space.width: 60
|
||||
xvkbd.form*Alt_L.width: 30
|
||||
xvkbd.form*MainMenu.width: 30
|
||||
xvkbd.form*MainMenu.height: 20
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 BackSpace \n\
|
||||
Escape \\ z v c h w k ; 1 2 BackSpace \n\
|
||||
Shift_L ' f i t a l y , 3 4 Shift_R \n\
|
||||
Tab space n e space 5 6 Return \n\
|
||||
Caps_Lock ` g d o r s b . 7 8 [ = ] \n\
|
||||
Control_L / q j u m p x - 9 0 Alt_L MainMenu
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 BackSpace \n\
|
||||
Escape | Z V C H W K : ! @ Delete \n\
|
||||
Shift_L " F I T A L Y < # $ Shift_R \n\
|
||||
Tab space N E space % ^ Return \n\
|
||||
Caps_Lock ~ G D O R S B > & * { + } \n\
|
||||
Control_L ? Q J U M P X _ ( ) Alt_L MainMenu
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 back \n\
|
||||
Esc \\ Z V C H W K ; 1 2 BS \n\
|
||||
Shift ' F I T A L Y , 3 4 Shift \n\
|
||||
Tab space N E space 5 6 Return \n\
|
||||
Caps ` G D O R S B . 7 8 [ = ] \n\
|
||||
Ctrl / Q J U M P X - 9 0 Alt MainMenu
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 back \n\
|
||||
Esc \\ z v c h w k ; 1 2 BS \n\
|
||||
Shift ' f i t a l y , 3 4 Shift \n\
|
||||
Tab space n e space 5 6 Return \n\
|
||||
Caps ` g d o r s b . 7 8 [ = ] \n\
|
||||
Ctrl / q j u m p x - 9 0 Alt MainMenu
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 back \n\
|
||||
Esc | Z V C H W K : ! @ Del \n\
|
||||
Shift " F I T A L Y < # $ Shift \n\
|
||||
Tab space N E space % ^ Return \n\
|
||||
Caps ~ G D O R S B > & * { + } \n\
|
||||
Ctrl ? Q J U M P X _ ( ) Alt MainMenu
|
76
development/autotests/xvkbd/XVkbd-french.ad
Normal file
76
development/autotests/xvkbd/XVkbd-french.ad
Normal file
@ -0,0 +1,76 @@
|
||||
!! XVkbd-french.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to French layout, roughly taken from
|
||||
! xkeycaps's "PC 102 key, wide Delete, tall Enter / XFree86; French"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (French)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
!xvkbd*Shift_R.width: 60
|
||||
!xvkbd*Return.width: 50
|
||||
!xvkbd*Delete.width: 40
|
||||
!xvkbd*Escape.width: 40
|
||||
xvkbd*space.width: 110
|
||||
!xvkbd*row2.BackSpace.width: 65
|
||||
!xvkbd*row2.BackSpace.horizDistance: 0
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape & é " ' ( - è _ ç à ) = ² * \n\
|
||||
Tab a z e r t y u i o p ^ $ Delete \n\
|
||||
Control_L q s d f g h j k l m ù Return \n\
|
||||
Shift_L < w x c v b n , ; : ! Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ° + ³ µ \n\
|
||||
Tab A Z E R T Y U I O P ¨ £ Delete \n\
|
||||
Control_L Q S D F G H J K L M % Return \n\
|
||||
Shift_L > W X C V B N ? . / § Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape & ~ # { [ | ` \\ ^ @ ] } ² * \n\
|
||||
Tab a z e r t y u i o p ^ ¤ Delete \n\
|
||||
Control_L q s d f g h j k l m ù Return \n\
|
||||
Shift_L < w x c v b n , ; : ! Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1\n& 2\né_~ 3\n"_# 4\n'_{ 5\n(_[ 6\n-_| 7\nè_` 8\n__\\ 9\nç_^ 0\nà_@ °\n)_] +\n=_} ³\n² µ\n* \n\
|
||||
Tab A Z E R T Y U I O P ¨\n^ £\n$_¤ Delete \n\
|
||||
Control Q S D F G H J K L M %\nù Return \n\
|
||||
Shift >\n< W X C V B N ?\n, .\n; /\n: §\n! Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc & é " ' ( - è _ ç à ) = ² * \n\
|
||||
Tab a z e r t y u i o p ^ $ Del \n\
|
||||
Ctrl q s d f g h j k l m ù Return \n\
|
||||
Shift < w x c v b n , ; : ! Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ° + ³ µ \n\
|
||||
Tab A Z E R T Y U I O P ¨ £ Del \n\
|
||||
Ctrl Q S D F G H J K L M % Return \n\
|
||||
Shift > W X C V B N ? . / § Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc & ~ # { [ | ` \\ ^ @ ] } ² * \n\
|
||||
Tab a z e r t y u i o p ^ ¤ Del \n\
|
||||
Ctrl q s d f g h j k l m ù Return \n\
|
||||
Shift < w x c v b n , ; : ! Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
93
development/autotests/xvkbd/XVkbd-french2.ad
Normal file
93
development/autotests/xvkbd/XVkbd-french2.ad
Normal file
@ -0,0 +1,93 @@
|
||||
!! XVkbd-french.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! This app-defaults file is contributed from Jean-Pierre Demailly
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard support most Latin-1 characters
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (French)
|
||||
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape & ~ \" ' ( - ` _ ^ @ ) = \\ < \n\
|
||||
Tab a z e r t y u i o p ^ $ Delete \n\
|
||||
Control_L q s d f g h j k l m ù Return \n\
|
||||
Shift_L w x c v b n , ; : ! Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ° + ¿ > \n\
|
||||
Tab A Z E R T Y U I O P ¨ £ Delete \n\
|
||||
Control_L Q S D F G H J K L M % Return \n\
|
||||
Shift_L W X C V B N ? . / § Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ½ ¤ # { [ | ¥ ¸ ¢ ´ ] } ¦ µ \n\
|
||||
Tab à á â ã ä å æ ç è é ê ë Delete \n\
|
||||
Control_L ì í î ï ð ñ ò ó ô õ ö Return \n\
|
||||
Shift ø ù ú û ü ý þ ÿ · ¡ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ¹ ² ³ ¾ ª ® © ¬ º ¶ ± × ÷ \n\
|
||||
Tab À Á Â Ã Ä Å Æ Ç È É Ê Ë Delete \n\
|
||||
Control_L Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Return \n\
|
||||
Shift Ø Ù Ú Û Ü Ý Þ ß « » Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1_¹\n&_½ 2_²\n~_¤ 3_³\n"_# 4_¾\n'_{ 5_ª\n(_[ \
|
||||
6_®\n-_| 7_©\n`_¥ 8_¬\n__¸ 9_\n^_¢ 0_º\n@_´ °_¶\n)_] \
|
||||
+_±\n=_} ¿_×\n\\_¦ >_÷\n<_µ \n\
|
||||
Tab A_à Z_á E_â R_ã T_ä Y_å U_æ I_ç O_è P_é \
|
||||
¨_¯\n^_ê £_Ë\n$_ë Del \n\
|
||||
Control Q_ì S_í D_î F_ï G_ð H_ñ J_ò K_ó L_ô \
|
||||
M_õ %_Ö\nù_ö Return \n\
|
||||
Shift W_ø X_ù C_ú V_û B_ü N_ý ?_Þ\n,_þ \
|
||||
._ß\n;_ÿ /_«\n:_· §_»\n!_¡ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Escape & ~ \" ' ( - ` _ ^ @ ) = \\ < \n\
|
||||
Tab a z e r t y u i o p ^ $ Del \n\
|
||||
Ctrl q s d f g h j k l m ù Return \n\
|
||||
Shift w x c v b n , ; : ! Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ° + ¿ > \n\
|
||||
Tab A Z E R T Y U I O P ¨ £ Del \n\
|
||||
Ctrl Q S D F G H J K L M % Return \n\
|
||||
Shift W X C V B N ? . / § Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Escape ½ ¤ # { [ | ¥ ¸ ¢ ´ ] } ¦ µ \n\
|
||||
Tab à á â ã ä å æ ç è é ê ë Del \n\
|
||||
Ctrl ì í î ï ð ñ ò ó ô õ ö Return \n\
|
||||
Shift ø ù ú û ü ý þ ÿ · ¡ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Escape ¹ ² ³ ¾ ª ® © ¬ º ¶ ± × ÷ \n\
|
||||
Tab À Á Â Ã Ä Å Æ Ç È É Ê Ë Del \n\
|
||||
Ctrl Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Return \n\
|
||||
Shift Ø Ù Ú Û Ü Ý Þ ß « » Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
70
development/autotests/xvkbd/XVkbd-german.ad
Normal file
70
development/autotests/xvkbd/XVkbd-german.ad
Normal file
@ -0,0 +1,70 @@
|
||||
!! XVkbd-german.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to German layout
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (German)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ? ` ^ # \n\
|
||||
Tab q w e r t z u i o p \374 + Delete \n\
|
||||
Control_L a s d f g h j k l \366 \344 Return \n\
|
||||
Shift_L < y x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " \247 $ % & / ( ) = \337 ' \260 | \n\
|
||||
Tab Q W E R T Z U I O P \334 * Delete \n\
|
||||
Control_L A S D F G H J K L \326 \304 Return \n\
|
||||
Shift_L > Y X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape \271 \262 \263 \243 \254 \251 { [ ] } \\ ' ^ # \n\
|
||||
Tab @ w e r t z u i o p \374 ~ Delete \n\
|
||||
Control_L a s d f g h j k l \366 \344 Return \n\
|
||||
Shift_L | y x c v b n \265 , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1_\271 "\n2_\262 \247\n3_\263 $\n4_\243 %\n5_\254 &\n6_\251 \
|
||||
/\n7_{ (\n8_[ )\n9_] =\n0_} \337\n\?_\\ '\n` \260\n^ |\n# \n\
|
||||
Tab Q_@ W E R T Z U I O P \334 *\n+_~ Del \n\
|
||||
Control A S D F G H J K L \326 \304 Return \n\
|
||||
Shift >\n<_| Y X C V B N M_\265 ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ? ` ^ # \n\
|
||||
Tab q w e r t z u i o p \374 + Del \n\
|
||||
Ctrl a s d f g h j k l \366 \344 Return \n\
|
||||
Shift < y x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " \247 $ % & / ( ) = \337 ' \260 | \n\
|
||||
Tab Q W E R T Z U I O P \334 * Del \n\
|
||||
Ctrl A S D F G H J K L \326 \304 Return \n\
|
||||
Shift > Y X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc \271 \262 \263 \243 \254 \251 { [ ] } \\ ' ^ # \n\
|
||||
Tab @ w e r t z u i o p \374 ~ Del \n\
|
||||
Ctrl a s d f g h j k l \366 \344 Return \n\
|
||||
Shift | y x c v b n \265 , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
131
development/autotests/xvkbd/XVkbd-greek.ad
Normal file
131
development/autotests/xvkbd/XVkbd-greek.ad
Normal file
@ -0,0 +1,131 @@
|
||||
!! XVkbd-greek.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-17
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard support Greek characters
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Greek)
|
||||
|
||||
XVkbd*generalFont: -*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-7
|
||||
XVkbd*letterFont: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-7
|
||||
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l ; ' Return \n\
|
||||
Shift_L z x c v b n m , . / Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Delete \n\
|
||||
Control_L A S D F G H J K L : " Return \n\
|
||||
Shift_L Z X C V B N M < > ? Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab Greek_theta Greek_omega Greek_epsilon Greek_rho Greek_tau Greek_psi \
|
||||
Greek_upsilon Greek_iota Greek_omicron Greek_pi [ ] Delete \n\
|
||||
Control_L Greek_alpha Greek_sigma Greek_delta Greek_phi Greek_gamma Greek_eta \
|
||||
space Greek_kappa Greek_lambda ; ' Return \n\
|
||||
Shift_L Greek_zeta Greek_xi Greek_chi space Greek_beta Greek_nu Greek_mu \
|
||||
, . / Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab Greek_THETA Greek_OMEGA Greek_EPSILON Greek_RHO Greek_TAU Greek_PSI \
|
||||
Greek_UPSILON Greek_IOTA Greek_OMICRON Greek_PI { } Delete \n\
|
||||
Control_L Greek_ALPHA Greek_SIGMA Greek_DELTA Greek_PHI Greek_GAMMA Greek_ETA \
|
||||
SPACE Greek_KAPPA Greek_LAMBDA : " Return \n\
|
||||
Shift_L Greek_ZETA Greek_XI Greek_CHI SPACE Greek_BETA Greek_NU Greek_MU \
|
||||
< > ? Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1 @\n2 #\n3 $\n4 %\n5 ^\n6 &\n7 *\n8 (\n9 )\n0 _\n- +\n= |\n\\ ~\n` \n\
|
||||
Tab Q_\310 W_\331 E_\305 R_\321 T_\324 Y_\330 U_\325 I_\311 O_\317 P_\320 \
|
||||
{\n[ }\n] Del \n\
|
||||
Control A_\301 S_\323 D_\304 F_\326 G_\303 H_\307 J K_\312 L_\313 :\n; "\n' Return \n\
|
||||
Shift Z_\306 X_\316 C_\327 V B_\302 N_\315 M_\314 <\n, >\n. ?\n/ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1 @\n2 #\n3 $\n4 %\n5 ^\n6 &\n7 *\n8 (\n9 )\n0 _\n- +\n= |\n\\ ~\n` \n\
|
||||
Tab Q_\350 W_\371 E_\345 R_\361 T_\364 Y_\370 U_\365 I_\351 O_\357 P_\360 \
|
||||
{\n[ }\n] Del \n\
|
||||
Control A_\341 S_\363 D_\344 F_\366 G_\343 H_\347 J K_\352 L_\353 :\n; "\n' Return \n\
|
||||
Shift Z_\346 X_\356 C_\367 V B_\342 N_\355 M_\354 <\n, >\n. ?\n/ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Return \n\
|
||||
Shift z x c v b n m , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Del \n\
|
||||
Ctrl A S D F G H J K L : " Return \n\
|
||||
Shift Z X C V B N M < > ? Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab \350 \371 \345 \361 \364 \370 \365 \351 \357 \360 [ ] Del \n\
|
||||
Ctrl \341 \363 \344 \366 \343 \347 space \352 \353 ; ' Return \n\
|
||||
Shift \346 \356 \367 space \342 \355 \354 , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab \310 \331 \305 \321 \324 \330 \325 \311 \317 \320 { } Del \n\
|
||||
Ctrl \301 \323 \304 \326 \303 \307 space \312 \313 : " Return \n\
|
||||
Shift \306 \316 \327 space \302 \315 \314 < > ? Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
! A Greek_ALPHA \301 \341
|
||||
! B Greek_BETA \302 \342
|
||||
! C Greek_CHI \327 \367
|
||||
! D Greek_DELTA \304 \344
|
||||
! E Greek_EPSILON \305 \345
|
||||
! F Greek_PHI \326 \366
|
||||
! G Greek_GAMMA \303 \343
|
||||
! H Greek_ETA \307 \347
|
||||
! I Greek_IOTA \311 \351
|
||||
! J
|
||||
! K Greek_KAPPA \312 \352
|
||||
! L Greek_LAMBDA \313 \353
|
||||
! M Greek_MU \314 \354
|
||||
! N Greek_NU \315 \355
|
||||
! O Greek_OMICRON \317 \357
|
||||
! P Greek_PI \320 \360
|
||||
! Q Greek_THETA \310 \350
|
||||
! R Greek_RHO \321 \361
|
||||
! S Greek_SIGMA \323 \363
|
||||
! T Greek_TAU \324 \364
|
||||
! U Greek_UPSILON \325 \365
|
||||
! V
|
||||
! W Greek_OMEGA \331 \371
|
||||
! X Greek_XI \316 \356
|
||||
! Y Greek_PSI \330 \370
|
||||
! Z Greek_ZETA \306 \346
|
75
development/autotests/xvkbd/XVkbd-hebrew.ad
Normal file
75
development/autotests/xvkbd/XVkbd-hebrew.ad
Normal file
@ -0,0 +1,75 @@
|
||||
!! XVkbd-hebrew.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-16
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard support Hebrew characters
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Hebrew)
|
||||
|
||||
xvkbd*generalFont: -*-*-*-r-*-*-13-*-*-*-*-*-iso8859-8
|
||||
xvkbd*letterFont: -*-*-*-r-*-*-13-*-*-*-*-*-iso8859-8
|
||||
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l ; ' Return \n\
|
||||
Shift_L z x c v b n m , . / Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Delete \n\
|
||||
Control_L A S D F G H J K L : \" Return \n\
|
||||
Shift_L Z X C V B N M < > ? Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab hebrew_aleph hebrew_bet hebrew_gimel hebrew_dalet hebrew_he hebrew_waw \
|
||||
hebrew_zain hebrew_chet hebrew_tet hebrew_yod hebrew_finalkaph hebrew_kaph Delete \n\
|
||||
Control_L hebrew_lamed hebrew_finalmem hebrew_mem hebrew_finalnun hebrew_nun hebrew_samech hebrew_ayin hebrew_finalpe hebrew_pe ; ' Return \n\
|
||||
Shift_L hebrew_finalzade hebrew_zade hebrew_qoph hebrew_resh hebrew_shin hebrew_taw \
|
||||
M , . Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1 @\n2 #\n3 $\n4 %\n5 ^\n6 &\n7 *\n8 (\n9 )\n0 _\n- +\n= |\n\\ ~\n` \n\
|
||||
Tab Q_\340 W_\341 E_\342 R_\343 T_\344 Y_\345 U_\346 I_\347 O_\350 P_\351 \
|
||||
{\n[_\352 }\n]_\353 Del \n\
|
||||
Control A_\354 S_\355 D_\356 F_\357 G_\360 H_\361 J_\362 K_\363 L_\364 :\n; \"\n' Return \n\
|
||||
Shift Z_\365 X_\366 C_\367 V_\370 B_\371 N_\372 M <\n, >\n. ?\n/ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Return \n\
|
||||
Shift z x c v b n m , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Del \n\
|
||||
Ctrl A S D F G H J K L : \" Return \n\
|
||||
Shift Z X C V B N M < > ? Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab \340 \341 \342 \343 \344 \345 \346 \347 \350 \351 \352 \353 Del \n\
|
||||
Ctrl \354 \355 \356 \357 \360 \361 \362 \363 \364 ; ' Return \n\
|
||||
Shift \365 \366 \367 \370 \371 \372 M , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
70
development/autotests/xvkbd/XVkbd-icelandic.ad
Normal file
70
development/autotests/xvkbd/XVkbd-icelandic.ad
Normal file
@ -0,0 +1,70 @@
|
||||
!! XVkbd-icelandic.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Icelandic layout, roughly taken from
|
||||
! xkeycaps's "PC 105 key, wide Delete, tall Enter / XFree86; Icelandic"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Icelandic)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ö - ° + \n\
|
||||
Tab q w e r t y u i o p ð ' Delete \n\
|
||||
Control_L a s d f g h j k l æ ' Return \n\
|
||||
Shift_L < z x c v b n m , . þ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # $ % & / ( ) = Ö _ ¨ * \n\
|
||||
Tab Q W E R T Y U I O P Ð ? Delete \n\
|
||||
Control_L A S D F G H J K L Æ ' Return \n\
|
||||
Shift_L > Z X C V B N M ; : Þ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 { [ ] } \\ - ° ` \n\
|
||||
Tab q w e r t y u i o p ð ~ Delete \n\
|
||||
Control_L a s d f g h j k l æ ^ Return \n\
|
||||
Shift_L | z x c v b n m , . þ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc !\n1 "\n2 #\n3 $\n4 %\n5 &\n6 /\n7_{ (\n8_[ )\n9_] =\n0_} Ö_\\ _\n- ¨\n° *\n+_` \n\
|
||||
Tab Q W E R T Y U I O P Ð ?\n'_~ Del \n\
|
||||
Control A S D F G H J K L Æ '_^ Return \n\
|
||||
Shift >\n<_| Z X C V B N M ;\n, :\n. Þ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ö - ° + \n\
|
||||
Tab q w e r t y u i o p ð ' Del \n\
|
||||
Ctrl a s d f g h j k l æ ' Return \n\
|
||||
Shift < z x c v b n m , . þ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # $ % & / ( ) = Ö _ ¨ * \n\
|
||||
Tab Q W E R T Y U I O P Ð ? Del \n\
|
||||
Ctrl A S D F G H J K L Æ ' Return \n\
|
||||
Shift > Z X C V B N M ; : Þ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 { [ ] } \\ - ° ` \n\
|
||||
Tab q w e r t y u i o p ð ~ Del \n\
|
||||
Ctrl a s d f g h j k l æ ^ Return \n\
|
||||
Shift | z x c v b n m , . þ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
70
development/autotests/xvkbd/XVkbd-italian.ad
Normal file
70
development/autotests/xvkbd/XVkbd-italian.ad
Normal file
@ -0,0 +1,70 @@
|
||||
!! XVkbd-italian.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Italian layout, roughly taken from
|
||||
! xkeycaps's "PC 102 key, wide Delete, tall Enter / XFree86; Italian"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Italian)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ' ì \\ ú \n\
|
||||
Tab q w e r t y u i o p è + Delete \n\
|
||||
Control_L a s d f g h j k l ò à Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " £ $ % & / ( ) = ? ^ | § \n\
|
||||
Tab Q W E R T Y U I O P é * Delete \n\
|
||||
Control_L A S D F G H J K L ç ° Return \n\
|
||||
Shift_L > Z X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ' ì \\ ú \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l @ # Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc !\n1 "\n2 £\n3 $\n4 %\n5 &\n6 /\n7 (\n8 )\n9 =\n0 ?\n' ^\nì |\n\\ §\nú \n\
|
||||
Tab Q W E R T Y U I O P é\nè_[ *\n+_] Del \n\
|
||||
Control A S D F G H J K L ç\nò_@ °\nà_# Return \n\
|
||||
Shift >\n< Z X C V B N M ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ' ì \\ ú \n\
|
||||
Tab q w e r t y u i o p è + Del \n\
|
||||
Ctrl a s d f g h j k l ò à Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " £ $ % & / ( ) = ? ^ | § \n\
|
||||
Tab Q W E R T Y U I O P é * Del \n\
|
||||
Ctrl A S D F G H J K L ç ° Return \n\
|
||||
Shift > Z X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ' ì \\ ú \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l @ # Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
95
development/autotests/xvkbd/XVkbd-jisx6002.ad
Normal file
95
development/autotests/xvkbd/XVkbd-jisx6002.ad
Normal file
@ -0,0 +1,95 @@
|
||||
!! XVkbd-jisx6004.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2005-01-23
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Japanese (JIS X 6002) layout
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Japanese)
|
||||
|
||||
xvkbd*Shift_L.width: 75
|
||||
xvkbd*Shift_R.width: 60
|
||||
xvkbd*Delete.width: 60
|
||||
xvkbd*Return.width: 45
|
||||
xvkbd*Henkan_Mode.width: 60
|
||||
xvkbd*Caps_Lock.width: 40
|
||||
xvkbd*Alt_L.width: 40
|
||||
xvkbd*Meta_L.width: 40
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 140
|
||||
xvkbd*row1.Focus.width: 45
|
||||
|
||||
xvkbd*row1*international: true
|
||||
xvkbd*row2*international: true
|
||||
xvkbd*row3*international: true
|
||||
xvkbd*row4*international: true
|
||||
xvkbd*row5*international: true
|
||||
xvkbd*specialFontSet: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*,*--14-*
|
||||
xvkbd*fontSet: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-*,*--14-*
|
||||
xvkbd.modalKeytop: true
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - ^ \\ Focus \n\
|
||||
Tab q w e r t y u i o p @ [ Delete \n\
|
||||
Control_L a s d f g h j k l ; : ] Return \n\
|
||||
Shift_L z x c v b n m , . / \\ Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # $ % & ' ( ) _ = ~ | Focus \n\
|
||||
Tab Q W E R T Y U I O P ` { Delete \n\
|
||||
Control_L A S D F G H J K L + * } Return \n\
|
||||
Shift_L Z X C V B N M < > ? _ Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape kana_NU kana_FU kana_A kana_U kana_E kana_O kana_YA kana_YU kana_YO kana_WA kana_HO kana_HE - Focus \n\
|
||||
Tab kana_TA kana_TE kana_I kana_SU kana_KA kana_N kana_NA kana_NI kana_RA kana_SE voicedsound semivoicedsound Delete \n\
|
||||
Control_L kana_CHI kana_TO kana_SHI kana_HA kana_KI kana_KU kana_MA kana_NO kana_RI kana_RE kana_KE kana_MU Return \n\
|
||||
Shift_L kana_TSU kana_SA kana_SO kana_HI kana_KO kana_MI kana_MO kana_NE kana_RU kana_ME kana_RO Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " kana_a kana_u kana_e kana_o kana_ya kana_yu kana_yo kana_WO = ~ | Focus \n\
|
||||
Tab Q W kana_i R T Y U I O P ` kana_openingbracket Delete \n\
|
||||
Control_L A S D F G H J K L + * kana_closingbracket Return \n\
|
||||
Shift_L kana_tsu X C V B N M kana_comma kana_fullstop kana_conjunctive | Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - ^ \\ Focus \n\
|
||||
Tab q w e r t y u i o p @ [ Delete \n\
|
||||
Control a s d f g h j k l ; : ] Return \n\
|
||||
Shift z x c v b n m , . / \\ Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # $ % & ' ( ) _ = ~ | Focus \n\
|
||||
Tab Q W E R T Y U I O P ` { Delete \n\
|
||||
Control A S D F G H J K L + * } Return \n\
|
||||
Shift Z X C V B N M < > ? _ Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ぬ ふ あ う え お や ゆ よ わ ほ へ ー Focus \n\
|
||||
Tab た て い す か ん な に ら せ ゛ ゜ Delete \n\
|
||||
Control ち と し は き く ま の り れ け む Return \n\
|
||||
Shift つ さ そ ひ こ み も ね る め ろ Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc space space ぁ ぅ ぇ ぉ ゃ ゅ ょ を space space space Focus \n\
|
||||
Tab space space ぃ space space space space space space space space 「 Delete \n\
|
||||
Control space space space space space space space space space space space 」 Return \n\
|
||||
Shift っ space space space space space space 、 。 ・ space Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
95
development/autotests/xvkbd/XVkbd-jisx6004.ad
Normal file
95
development/autotests/xvkbd/XVkbd-jisx6004.ad
Normal file
@ -0,0 +1,95 @@
|
||||
!! XVkbd-jisx6004.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Japanese (JIS X 6004) layout
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Japanese)
|
||||
|
||||
xvkbd*Shift_L.width: 75
|
||||
xvkbd*Shift_R.width: 90
|
||||
xvkbd*Delete.width: 60
|
||||
xvkbd*Return.width: 45
|
||||
xvkbd*Henkan_Mode.width: 60
|
||||
xvkbd*Caps_Lock.width: 40
|
||||
xvkbd*Alt_L.width: 40
|
||||
xvkbd*Meta_L.width: 40
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 140
|
||||
xvkbd*row1.Focus.width: 45
|
||||
|
||||
xvkbd*row1*international: true
|
||||
xvkbd*row2*international: true
|
||||
xvkbd*row3*international: true
|
||||
xvkbd*row4*international: true
|
||||
xvkbd*row5*international: true
|
||||
xvkbd*specialFontSet: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*,*--14-*
|
||||
xvkbd*fontSet: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-*,*--14-*
|
||||
xvkbd.modalKeytop: true
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - ^ \\ Focus \n\
|
||||
Tab q w e r t y u i o p @ [ Delete \n\
|
||||
Control_L a s d f g h j k l ; : ] Return \n\
|
||||
Shift_L z x c v b n m , . / Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # $ % & ' ( ) _ = ~ | Focus \n\
|
||||
Tab Q W E R T Y U I O P ` { Delete \n\
|
||||
Control_L A S D F G H J K L + * } Return \n\
|
||||
Shift_L Z X C V B N M < > ? Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - ^ \\ Focus \n\
|
||||
Tab kana_SO kana_KE kana_SE kana_TE kana_yo kana_TSU kana_N kana_NO kana_WO kana_RI kana_CHI space Delete \n\
|
||||
Control_L kana_HA kana_KA kana_SHI kana_TO kana_TA kana_KU kana_U kana_I voicedsound kana_KI kana_NA space Return \n\
|
||||
Shift_L kana_SU kana_KO kana_NI kana_SA kana_A kana_tsu kana_RU kana_comma kana_fullstop kana_RE Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # $ % & ' ( ) _ = ~ | Focus \n\
|
||||
Tab kana_a semivoicedsound kana_HO kana_FU kana_ME kana_HI kana_E kana_MI kana_YA kana_NU kana_openingbracket space Delete \n\
|
||||
Control_L kana_i kana_HE kana_RA kana_yu kana_YO kana_MA kana_O kana_MO kana_WA kana_YU kana_closingbracket space Return \n\
|
||||
Shift_L kana_u kana_e kana_o kana_NE kana_ya kana_MU kana_RO kana_conjunctive - space Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - ^ \\ Focus \n\
|
||||
Tab q w e r t y u i o p @ [ Delete \n\
|
||||
Control a s d f g h j k l ; : ] Return \n\
|
||||
Shift z x c v b n m , . / Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # $ % & ' ( ) _ = ~ | Focus \n\
|
||||
Tab Q W E R T Y U I O P ` { Delete \n\
|
||||
Control A S D F G H J K L + * } Return \n\
|
||||
Shift Z X C V B N M < > ? Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - ^ \\ Focus \n\
|
||||
Tab そ け せ て ょ つ ん の を り ち space Delete \n\
|
||||
Control は か し と た く う い ゛ き な space Return \n\
|
||||
Shift す こ に さ あ っ る 、 。 れ Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # $ % & ' ( ) _ = ~ | Focus \n\
|
||||
Tab ぁ ゜ ほ ふ め ひ え み や ぬ 「 space Delete \n\
|
||||
Control ぃ へ ら ゅ よ ま お も わ ゆ 」 space Return \n\
|
||||
Shift ぅ ぇ ぉ ね ゃ む ろ ・ ー space Shift \n\
|
||||
MainMenu Caps Alt Meta space かな left right up down
|
78
development/autotests/xvkbd/XVkbd-korean.ad
Normal file
78
development/autotests/xvkbd/XVkbd-korean.ad
Normal file
@ -0,0 +1,78 @@
|
||||
!! XVkbd-korean.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! with contribution from Young-Ho
|
||||
!!
|
||||
!! Last update: 2004-05-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Korean layout
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Korean)
|
||||
|
||||
xvkbd*Shift_L.width: 75
|
||||
xvkbd*Shift_R.width: 80
|
||||
xvkbd*Control_L.width: 40
|
||||
xvkbd*Caps_Lock.width: 60
|
||||
xvkbd*Alt_L.width: 40
|
||||
xvkbd*Meta_L.width: 40
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 100
|
||||
xvkbd*Delete.width: 50
|
||||
xvkbd*Return.width: 65
|
||||
xvkbd*row0.F1.horizDistance: 6
|
||||
xvkbd*row1.BackSpace.horizDistance: 0
|
||||
xvkbd*row1.BackSpace.width: 40
|
||||
xvkbd*row5.Focus.international: false
|
||||
|
||||
xvkbd*row1*international: true
|
||||
xvkbd*row2*international: true
|
||||
xvkbd*row3*international: true
|
||||
xvkbd*row4*international: true
|
||||
xvkbd*row5*international: true
|
||||
xvkbd*specialFontSet: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-*,\
|
||||
-*-*-medium-r-*-*-12-*-*-*-*-*-ksc5601.1987-0,*--12-*
|
||||
xvkbd*fontSet: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-*,\
|
||||
-*-*-medium-r-*-*-12-*-*-*-*-*-ksc5601.1987-0,*--12-*
|
||||
xvkbd.modalKeytop: false
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
Escape F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 \n\
|
||||
` 1 2 3 4 5 6 7 8 9 0 - = \\ BackSpace \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Caps_Lock a s d f g h j k l ; ' Return \n\
|
||||
Shift_L z x c v b n m , . / Shift_R \n\
|
||||
MainMenu Control_L Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
Escape F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 \n\
|
||||
~ ! @ # $ % ^ & * ( ) _ + | BackSpace \n\
|
||||
Tab Q W E R T Y U I O P { } Delete \n\
|
||||
Caps_Lock A S D F G H J K L : " Return \n\
|
||||
Shift_L Z X C V B N M < > ? Shift_R \n\
|
||||
MainMenu Control_L Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
Escape F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 \n\
|
||||
` 1 2 3 4 5 6 7 8 9 0 - = \\ BackSpace \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Caps_Lock a s d f g h j k l ; ' Return \n\
|
||||
Shift_L z x c v b n m , . / Shift_R \n\
|
||||
MainMenu Control_L Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
Escape F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 \n\
|
||||
` 1 2 3 4 5 6 7 8 9 0 - = \\ BackSpace \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Caps_Lock a s d f g h j k l ; ' Return \n\
|
||||
Shift_L z x c v b n m , . / Shift_R \n\
|
||||
MainMenu Control_L Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 \n\
|
||||
~\n` !\n1 @\n2 #\n3 $\n4 %\n5 ^\n6 &\n7 *\n8 (\n9 )\n0 _\n- +\n= |\n\\ back \n\
|
||||
Tab Q\nげこ W\nじす E\nぇえ R\nぁあ T\nさざ Y\nに U\nづ I\nち O\nだぢ P\nつて {\n[ }\n] Delete \n\
|
||||
Caps A\nけ S\nい D\nし F\nぉ G\nぞ H\nで J\nっ K\nた L\nび :\n; "\n' Return \n\
|
||||
Shift Z\nせ X\nぜ C\nず V\nそ B\nば N\nぬ M\nぱ <\n, >\n. ?\n/ Shift \n\
|
||||
MainMenu Ctrl Alt Meta space 廃/慎 left right up down Focus
|
90
development/autotests/xvkbd/XVkbd-latin1.ad
Normal file
90
development/autotests/xvkbd/XVkbd-latin1.ad
Normal file
@ -0,0 +1,90 @@
|
||||
!! XVkbd-latin1.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard support most Latin-1 characters
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Latin-1)
|
||||
|
||||
xvkbd*Mode_switch.width: 50
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l ; ' Return \n\
|
||||
Shift_L z x c v b n m , . / Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Delete \n\
|
||||
Control_L A S D F G H J K L : \" Return \n\
|
||||
Shift_L Z X C V B N M < > ? Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape \271 \262 \263 \243 \245 \247 \251 \272 \255 \254 \261 \267 \327 \367 \n\
|
||||
Tab \340 \341 \342 \343 \344 \345 \346 \347 \350 \351 \352 \353 Delete \n\
|
||||
Control_L \354 \355 \356 \357 \360 \361 \362 \363 \364 \365 \366 Return \n\
|
||||
Shift \370 \371 \372 \373 \374 \375 \376 \377 \337 \241 Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape \274 \275 \276 \242 \244 \266 \256 \252 \250 \257 \260 \264 \270 \265 \n\
|
||||
Tab \300 \301 \302 \303 \304 \305 \306 \307 \310 \311 \312 \313 Delete \n\
|
||||
Control_L \314 \315 \316 \317 \320 \321 \322 \323 \324 \325 \326 Return \n\
|
||||
Shift \330 \331 \332 \333 \334 \335 \336 \253 \273 \277 Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !_\274\n1_\271 @_\275\n2_\262 #_\276\n3_\263 $_\242\n4_\243 %_\244\n5_\245 \
|
||||
^_\266\n6_\247 &_\256\n7_\251 *_\252\n8_\272 (_\250\n9_\255 )_\257\n0_\254 __\260\n-_\261 \
|
||||
+_\264\n=_\267 |_\270\n\\_\327 ~_\265\n`_\367 \n\
|
||||
Tab Q_\340 W_\341 E_\342 R_\343 T_\344 Y_\345 U_\346 I_\347 O_\350 P_\351 \
|
||||
{\n[_\352 }\n]_\353 Del \n\
|
||||
Control A_\354 S_\355 D_\356 F_\357 G_\360 H_\361 J_\362 K_\363 L_\364 \
|
||||
:\n;_\365 \"\n'_\366 Return \n\
|
||||
Shift Z_\370 X_\371 C_\372 V_\373 B_\374 N_\375 M_\376 \
|
||||
<_\253\n,_\377 >_\273\n._\337 ?_\277\n/_\241 Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Return \n\
|
||||
Shift z x c v b n m , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Del \n\
|
||||
Ctrl A S D F G H J K L : \" Return \n\
|
||||
Shift Z X C V B N M < > ? Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc \271 \262 \263 \243 \245 \247 \251 \272 \255 \254 \261 \267 \327 \367 \n\
|
||||
Tab \340 \341 \342 \343 \344 \345 \346 \347 \350 \351 \352 \353 Del \n\
|
||||
Ctrl \354 \355 \356 \357 \360 \361 \362 \363 \364 \365 \366 Return \n\
|
||||
Shift \370 \371 \372 \373 \374 \375 \376 \377 \337 \241 Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc \274 \275 \276 \242 \244 \266 \256 \252 \250 \257 \260 \264 \270 \265 \n\
|
||||
Tab \300 \301 \302 \303 \304 \305 \306 \307 \310 \311 \312 \313 Del \n\
|
||||
Ctrl \314 \315 \316 \317 \320 \321 \322 \323 \324 \325 \326 Return \n\
|
||||
Shift \330 \331 \332 \333 \334 \335 \336 \253 \273 \277 Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
71
development/autotests/xvkbd/XVkbd-norwegian.ad
Normal file
71
development/autotests/xvkbd/XVkbd-norwegian.ad
Normal file
@ -0,0 +1,71 @@
|
||||
!! XVkbd-norwegian.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Norwegian layout, roughly taken from
|
||||
! xkeycaps's "PC 102 key, wide Delete, tall Enter / XFree86; Norwegian"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Norwegian)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 + \\ | ' \n\
|
||||
Tab q w e r t y u i o p á ¨ Delete \n\
|
||||
Control_L a s d f g h j k l ø æ Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # ¤ % & / ( ) = ? ` § * \n\
|
||||
Tab Q W E R T Y U I O P Á ^ Delete \n\
|
||||
Control_L A S D F G H J K L Ø Æ Return \n\
|
||||
Shift_L > Z X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 @ £ $ 5 6 { [ ] } + ' ¦ ' \n\
|
||||
Tab q w e r t y u i o p á ~ Delete \n\
|
||||
Control_L a s d f g h j k l ø dead_diaeresis ' Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1 "\n2_@ #\n3_£ ¤\n4_$ %\n5 &\n6 /\n7_{ (\n8_[ )\n9_] =\n0_} ?\n+ `\n\\_' §\n|_¦ *\n' \n\
|
||||
Tab Q W E R T Y U I O P Á ^\n¨_~ Del \n\
|
||||
Control A S D F G H J K L Ø Æ Return \n\
|
||||
Shift >\n< Z X C V B N M ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 + \\ | ' \n\
|
||||
Tab q w e r t y u i o p á ¨ Del \n\
|
||||
Ctrl a s d f g h j k l ø æ Return \n\
|
||||
Shift < z x c v b n m , . - Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! " # ¤ % & / ( ) = ? ` § * \n\
|
||||
Tab Q W E R T Y U I O P Á ^ Del \n\
|
||||
Ctrl A S D F G H J K L Ø Æ Return \n\
|
||||
Shift > Z X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 @ £ $ 5 6 { [ ] } + ' ¦ ' \n\
|
||||
Tab q w e r t y u i o p á ~ Del \n\
|
||||
Ctrl a s d f g h j k l ø æ Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
70
development/autotests/xvkbd/XVkbd-portuguese.ad
Normal file
70
development/autotests/xvkbd/XVkbd-portuguese.ad
Normal file
@ -0,0 +1,70 @@
|
||||
!! XVkbd-portuguese.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Portuguese layout, roughly taken from
|
||||
! xkeycaps's "PC 102 key, wide Delete, tall Enter / XFree86; Portuguse"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Portuguese)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ' « \\ ~ \n\
|
||||
Tab q w e r t y u i o p + ' Delete \n\
|
||||
Control_L a s d f g h j k l ç º Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # $ % & / ( ) = ? » | ^ \n\
|
||||
Tab Q W E R T Y U I O P * ` Delete \n\
|
||||
Control_L A S D F G H J K L Ç ª Return \n\
|
||||
Shift_L > Z X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 @ £ § 5 6 { [ ] } ' « \\ ~ \n\
|
||||
Tab q w e r t y u i o p ¨ ' Delete \n\
|
||||
Control_L a s d f g h j k l ç º Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc !\n1 "\n2_@ #\n3_£ $\n4_§ %\n5 &\n6 /\n7_{ (\n8_[ )\n9_] =\n0_} ?\n' »\n« |\n\\ ^\n~ \n\
|
||||
Tab Q W E R T Y U I O P *\n+_¨ `\n' Del \n\
|
||||
Control A S D F G H J K L Ç ª\nº Return \n\
|
||||
Shift >\n< Z X C V B N M ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ' « \\ ~ \n\
|
||||
Tab q w e r t y u i o p + ' Del \n\
|
||||
Ctrl a s d f g h j k l ç º Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # $ % & / ( ) = ? » | ^ \n\
|
||||
Tab Q W E R T Y U I O P * ` Del \n\
|
||||
Ctrl A S D F G H J K L Ç ª Return \n\
|
||||
Shift > Z X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 @ £ § 5 6 { [ ] } ' « \\ ~ \n\
|
||||
Tab q w e r t y u i o p ¨ ' Del \n\
|
||||
Ctrl a s d f g h j k l ç º Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
108
development/autotests/xvkbd/XVkbd-russian.ad
Normal file
108
development/autotests/xvkbd/XVkbd-russian.ad
Normal file
@ -0,0 +1,108 @@
|
||||
!! XVkbd-russian.ad - Russian (win-keyboard like) layout for xvkbd
|
||||
!! by Victor Wagner <vitus@wagner.pp.ru)
|
||||
!! based on sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Requires xvkbd to be started in ru_RU.KOI8-R (or ru_UA.KOI8-R) locale
|
||||
!! to show key labels correctly. You may recode this file to any other
|
||||
!! 8-bit cyrillic encoding and change font resources appropriately. But
|
||||
!! as of xvkbd ver 2.6 it doesn't show labels correctly if resourses
|
||||
!! are in utf-8
|
||||
!!
|
||||
!! Last update: 2006-07-27
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Russian)
|
||||
|
||||
xvkbd*generalFont: -*-fixed-medium-r-normal-*-13-*-*-*-*-*-koi8-r
|
||||
xvkbd*letterFont: -*-fixed-medium-r-normal-*-13-*-*-*-*-*-koi8-r
|
||||
|
||||
xvkbd*space.width: 80
|
||||
|
||||
xvkbd.modalKeytop: true
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = ` # \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l ; ' Return \n\
|
||||
Shift_L \\ z x c v b n m , . / Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Meta_R Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! @ # $ % ^ & = ( ) _ + ~ # \n\
|
||||
Tab Q W E R T Y U I O P { } Delete \n\
|
||||
Control_L A S D F G H J K L : " Return \n\
|
||||
Shift_L | Z X C V B N M < > ? Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Meta_R Mode_switch Left Right Up Down Focus
|
||||
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = ` # \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Return \n\
|
||||
Shift \\ z x c v b n m , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Rus left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = ` # \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Return \n\
|
||||
Shift \\ z x c v b n m , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Rus left right up down Focus
|
||||
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! @ # $ % ^ & = ( ) _ + ~ # \n\
|
||||
Tab Q W E R T Y U I O P { } Del \n\
|
||||
Ctrl A S D F G H J K L : " Return \n\
|
||||
Shift | Z X C V B N M < > ? Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Rus left right up down Focus
|
||||
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = Cyrillic_io # \n\
|
||||
Tab Cyrillic_shorti Cyrillic_tse Cyrillic_u Cyrillic_ka Cyrillic_ie\
|
||||
Cyrillic_en Cyrillic_ghe Cyrillic_sha Cyrillic_shcha Cyrillic_ze\
|
||||
Cyrillic_ha Cyrillic_hardsign Delete \n\
|
||||
Control_L Cyrillic_ef Cyrillic_yeru Cyrillic_ve Cyrillic_a Cyrillic_pe\
|
||||
Cyrillic_er Cyrillic_o Cyrillic_el Cyrillic_de Cyrillic_zhe Cyrillic_e\
|
||||
Return \n\
|
||||
Shift_L \\ Cyrillic_ya Cyrillic_che Cyrillic_es Cyrillic_em Cyrillic_i\
|
||||
Cyrillic_te Cyrillic_softsign Cyrillic_be Cyrillic_yu . Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Meta_R Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # ; % : ? * ( ) _ + Cyrillic_IO # \n\
|
||||
Tab Cyrillic_SHORTI Cyrillic_TSE Cyrillic_U Cyrillic_KA Cyrillic_IE\
|
||||
Cyrillic_EN Cyrillic_GHE Cyrillic_SHA Cyrillic_SHCHA Cyrillic_ZE\
|
||||
Cyrillic_HA Cyrillic_HARDSIGN Delete \n\
|
||||
Control_L Cyrillic_EF Cyrillic_YERU Cyrillic_VE Cyrillic_A Cyrillic_PE\
|
||||
Cyrillic_ER Cyrillic_O Cyrillic_EL Cyrillic_DE Cyrillic_ZHE Cyrillic_E\
|
||||
Return \n\
|
||||
Shift_L \\ Cyrillic_YA Cyrillic_CHE Cyrillic_ES Cyrillic_EM Cyrillic_I\
|
||||
Cyrillic_TE Cyrillic_SOFTSIGN Cyrillic_BE Cyrillic_YU , Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Meta_R Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = £ # \n\
|
||||
Tab Ê Ã Õ Ë Å Î Ç Û Ý Ú È ß Delete \n\
|
||||
Control Æ Ù × Á Ð Ò Ï Ì Ä Ö Ü Return \n\
|
||||
Shift \\ Ñ Þ Ó Í É Ô Ø Â À . Comp Shift \n\
|
||||
Menu Caps Alt Meta space Meta Eng left right up down Focus
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! " # ; % : ? * ( ) _ + ³ ~ \n\
|
||||
Tab ê ã õ ë å î ç û ý ú è ÿ Del \n\
|
||||
Ctrl æ ù ÷ á ð ò ï ì ä ö ü Return \n\
|
||||
Shift / ñ þ ó í é ô ø â à , Comp Shift \n\
|
||||
Menu Caps Alt Meta space Meta Eng left right up down Focus
|
90
development/autotests/xvkbd/XVkbd-slovene.ad
Normal file
90
development/autotests/xvkbd/XVkbd-slovene.ad
Normal file
@ -0,0 +1,90 @@
|
||||
!! XVkbd-slovene.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-16
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Norwegian layout, roughly taken from
|
||||
! xkeycaps's "PC 105 key, wide Delete, tall Enter / XFree86; Slovene"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Slovene)
|
||||
|
||||
xvkbd*generalFont: -*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-2
|
||||
xvkbd*letterFont: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-2
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ' + cedilla zcaron \n\
|
||||
Tab q w e r t z u i o p scaron dstroke Delete \n\
|
||||
Control_L a s d f g h j k l ccaron cacute Return \n\
|
||||
Shift_L < y x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " # $ % & / ( ) = ? * diaeresis Zcaron \n\
|
||||
Tab Q W E R T Z U I O P Scaron Dstroke Delete \n\
|
||||
Control_L A S D F G H J K L Ccaron Cacute Return \n\
|
||||
Shift_L > Y X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ~ 2 ^ 4 5 6 7 8 9 0 ' + cedilla currency \n\
|
||||
Tab \\ | e r t z u i o p division multiply Delete \n\
|
||||
Control_L a s d f g h j lstroke Lstroke ccaron ssharp Return \n\
|
||||
Shift_L < y x c @ { } section , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1_~ "\n2 #\n3_^ $\n4 %\n5 &\n6 /\n7 (\n8 )\n9 =\n0 \
|
||||
?\n' *\n+ \250\n\270 \256_\244 \n\
|
||||
Tab Q_\\ W_| E R T Z U I O P \251_\367 \320_\327 Del \n\
|
||||
Control A S D F G H J K_\263 L_\243 \310 \306_\337 Return \n\
|
||||
Shift >\n< Y X C V_@ B_{ N_} M_\247 ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ' + , \276 \n\
|
||||
Tab q w e r t z u i o p \271 \360 Del \n\
|
||||
Ctrl a s d f g h j k l \350 \346 Return \n\
|
||||
Shift < y x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! " # $ % & / ( ) = ? * \250 \256 \n\
|
||||
Tab Q W E R T Z U I O P \251 \320 Del \n\
|
||||
Ctrl A S D F G H J K L \310 \306 Return \n\
|
||||
Shift > Y X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ~ 2 ^ 4 5 6 7 8 9 0 ' + , \244 \n\
|
||||
Tab \\ | e r t z u i o p \367 \327 Del \n\
|
||||
Ctrl a s d f g h j \263 \243 \350 \337 Return \n\
|
||||
Shift < y x c @ { } \247 , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
|
||||
XVkbd.deadkeys: dead_diaeresis,dead_acute,dead_grave,\
|
||||
dead_circumflex,dead_macron,dead_abovering,dead_doubleacute,\
|
||||
dead_caron,dead_breve,\
|
||||
dead_tilde,dead_abovedot,\
|
||||
dead_ogonek,dead_cedilla
|
||||
|
||||
XVkbd*deadkey_panel*dead_caron.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_breve.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_ogonek.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_cedilla.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_caron.label: \267
|
||||
XVkbd*deadkey_panel*dead_breve.label: \242
|
||||
XVkbd*deadkey_panel*dead_ogonek.label: \262
|
||||
XVkbd*deadkey_panel*dead_cedilla.label: \270
|
66
development/autotests/xvkbd/XVkbd-small.ad
Normal file
66
development/autotests/xvkbd/XVkbd-small.ad
Normal file
@ -0,0 +1,66 @@
|
||||
!! XVkbd-small.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
!! Size of the window can be set with xvkbd.windowGeometry resource
|
||||
!! or -geometry (or -windowgeometry) option.
|
||||
!! Please note that you must take account of size of the window border
|
||||
!! when you want set window position from right/bottom of the screen.
|
||||
!
|
||||
xvkbd.inheritGeoemetry: false
|
||||
xvkbd.windowGeometry: 220x85-5-25
|
||||
xvkbd.keypad_panel.geometry: 100x100
|
||||
xvkbd.sun_fkey_panel.geometry: 70x120
|
||||
|
||||
!! You should set the label font if you want to make the window small.
|
||||
!
|
||||
xvkbd.compact: true
|
||||
xvkbd*Font: 6x12
|
||||
xvkbd*Command.ShadowWidth: 1
|
||||
xvkbd*Repeater.ShadowWidth: 1
|
||||
|
||||
!! Remove some keys and make some keys larger.
|
||||
!
|
||||
xvkbd*Alt_R.width: 1
|
||||
xvkbd*Meta_R.width: 1
|
||||
xvkbd*Multi_key.width: 1
|
||||
xvkbd*Caps_Lock.width: 45
|
||||
xvkbd*Shift_R.width: 75
|
||||
|
||||
!! If you want to make the window very small but need Compose key,
|
||||
!! you may want to remove right Shift key and make Compose key larger.
|
||||
!
|
||||
!xvkbd*Shift_R.width: 1
|
||||
!xvkbd*Multi_key.width: 75
|
||||
|
||||
!! Uncomment the following line if you want to remove "Focus" button
|
||||
!
|
||||
!xvkbd*Focus.width: 1
|
||||
|
||||
!! Replace labels on some keys. ("Control" to "Ctrl", for example)
|
||||
!
|
||||
xvkbd.modalKeytop: true
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = \\ ` \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Ret \n\
|
||||
Shift z x c v b n m , . / Compose Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Alt left right up down Fc
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! @ # $ % ^ & * ( ) _ + | ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Del \n\
|
||||
Ctrl A S D F G H J K L : \" Ret \n\
|
||||
Shift Z X C V B N M < > ? Compose Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Alt left right up down Fc
|
||||
|
||||
!! Use "target" icon in the place of label on the Focus button
|
||||
!
|
||||
xvkbd*Focus.internalWidth: 0
|
||||
xvkbd*Focus.bitmap: /usr/include/X11/bitmaps/target
|
76
development/autotests/xvkbd/XVkbd-spanish.ad
Normal file
76
development/autotests/xvkbd/XVkbd-spanish.ad
Normal file
@ -0,0 +1,76 @@
|
||||
!! XVkbd-uk.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to UK layout, roughly taken from
|
||||
! xkeycaps's "PC 102 key, wide Delete, tall Enter / XFree86; Spanish"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Spanish)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*Shift_R.width: 60
|
||||
xvkbd*Return.width: 50
|
||||
xvkbd*Delete.width: 40
|
||||
xvkbd*Escape.width: 40
|
||||
xvkbd*space.width: 120
|
||||
xvkbd*row2.BackSpace.width: 65
|
||||
xvkbd*row2.BackSpace.horizDistance: 0
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
º 1 2 3 4 5 6 7 8 9 0 ' ¿ Delete Escape \n\
|
||||
Tab q w e r t y u i o p ` + BackSpace \n\
|
||||
Control_L a s d f g h j k l ñ ' ç Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
ª ! " · $ % & / ( ) = ? ¡ Delete Escape \n\
|
||||
Tab Q W E R T Y U I O P ^ * BackSpace \n\
|
||||
Control_L A S D F G H J K L Ñ ~ Ç Return \n\
|
||||
Shift_L > Z X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
\\ | @ # 4 5 ¬ 7 8 9 0 ' ¿ Delete Escape \n\
|
||||
Tab q w e r t y u i o p [ ] BackSpace \n\
|
||||
Control_L a s d f g h j k l ñ { } Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps\nLock Alt Meta space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
ª\nº_\\ !\n1_| "\n2_@ ·\n3_# $\n4 %\n5 &\n6_¬ /\n7 (\n8 )\n9 =\n0 ?\n' ¡\n¿ Del Esc \n\
|
||||
Tab Q W E R T Y U I O P ^\n`_[ *\n+_] back \n\
|
||||
Control A S D F G H J K L Ñ ~\n'_{ Ç_} Return \n\
|
||||
Shift >\n< Z X C V B N M ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
º 1 2 3 4 5 6 7 8 9 0 ' ¿ Del Esc \n\
|
||||
Tab q w e r t y u i o p ` + back \n\
|
||||
Ctrl a s d f g h j k l ñ ' ç Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
ª ! " · $ % & / ( ) = ? ¡ Del Esc \n\
|
||||
Tab Q W E R T Y U I O P ^ * back \n\
|
||||
Ctrl A S D F G H J K L Ñ ~ Ç Return \n\
|
||||
Shift > Z X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
\\ | @ # 4 5 ¬ 7 8 9 0 ' ¿ Del Esc \n\
|
||||
Tab q w e r t y u i o p [ ] back \n\
|
||||
Ctrl a s d f g h j k l ñ { } Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
232
development/autotests/xvkbd/XVkbd-strip.ad
Normal file
232
development/autotests/xvkbd/XVkbd-strip.ad
Normal file
@ -0,0 +1,232 @@
|
||||
!! XVkbd-strip.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2010-01-16
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard support most Latin-1 characters
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard
|
||||
|
||||
xvkbd.inheritGeoemetry: false
|
||||
xvkbd.modalKeytop: true
|
||||
xvkbd.keypad: false
|
||||
xvkbd.keypadOnly: true
|
||||
xvkbd.geometry: +0-0
|
||||
xvkbd.keypad_panel.geometry: -0-0
|
||||
xvkbd*keypad.vertDistance: 0
|
||||
xvkbd*keypad.horizDistance: 0
|
||||
|
||||
xvkbd*banner.width: 1
|
||||
xvkbd*banner.height: 1
|
||||
xvkbd.form*Command.width: 27
|
||||
xvkbd.form*Command.height: 22
|
||||
xvkbd.form*Repeater.width: 27
|
||||
xvkbd.form*Repeater.height: 22
|
||||
xvkbd.form*Return.width: 54
|
||||
xvkbd.form*MainMenu.width: 27
|
||||
xvkbd.form*Control_L.width: 18
|
||||
xvkbd.form*Shift_L.width: 18
|
||||
xvkbd.form*Mode_switch.width: 18
|
||||
xvkbd.keypad_panel*Repeater.width: 27
|
||||
xvkbd.keypad_panel*Repeater.height: 22
|
||||
xvkbd*Command.horizDistance: 0
|
||||
xvkbd*Repeater.horizDistance: 0
|
||||
xvkbd*Command.justify: center
|
||||
xvkbd*Repeater.justify: center
|
||||
xvkbd*Command.justify: center
|
||||
xvkbd*Repeater.justify: center
|
||||
xvkbd*vertDistance: 0
|
||||
|
||||
xvkbd*Focus.bitmap: /usr/include/X11/bitmaps/target
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
a n \n\
|
||||
b o \n\
|
||||
c p \n\
|
||||
d q \n\
|
||||
e r \n\
|
||||
f s \n\
|
||||
g t \n\
|
||||
h u \n\
|
||||
i v \n\
|
||||
j w \n\
|
||||
k x \n\
|
||||
l y \n\
|
||||
m z \n\
|
||||
space BackSpace \n\
|
||||
Return \n\
|
||||
Control_L Shift_L Mode_switch \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
A N \n\
|
||||
B O \n\
|
||||
C P \n\
|
||||
D Q \n\
|
||||
E R \n\
|
||||
F S \n\
|
||||
G T \n\
|
||||
H U \n\
|
||||
I V \n\
|
||||
J W \n\
|
||||
K X \n\
|
||||
L Y \n\
|
||||
M Z \n\
|
||||
space BackSpace \n\
|
||||
Return \n\
|
||||
Control_L Shift_L Mode_switch \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
a n \n\
|
||||
b o \n\
|
||||
c p \n\
|
||||
d q \n\
|
||||
e r \n\
|
||||
f s \n\
|
||||
g t \n\
|
||||
h u \n\
|
||||
i v \n\
|
||||
j w \n\
|
||||
k x \n\
|
||||
l y \n\
|
||||
m z \n\
|
||||
space BS \n\
|
||||
Return \n\
|
||||
Ct Sh Ag \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
A N \n\
|
||||
B O \n\
|
||||
C P \n\
|
||||
D Q \n\
|
||||
E R \n\
|
||||
F S \n\
|
||||
G T \n\
|
||||
H U \n\
|
||||
I V \n\
|
||||
J W \n\
|
||||
K X \n\
|
||||
L Y \n\
|
||||
M Z \n\
|
||||
space BS \n\
|
||||
Return \n\
|
||||
Ctrl Shift AltGr \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
, . \n\
|
||||
; : \n\
|
||||
! ? \n\
|
||||
( ) \n\
|
||||
{ } \n\
|
||||
[ ] \n\
|
||||
< > \n\
|
||||
# $ \n\
|
||||
% ^ \n\
|
||||
& @ \n\
|
||||
_ ~ \n\
|
||||
| = \n\
|
||||
' " \n\
|
||||
\\ BackSpace \n\
|
||||
Return \n\
|
||||
Control_L Shift_L Mode_switch \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
, . \n\
|
||||
; : \n\
|
||||
! ? \n\
|
||||
( ) \n\
|
||||
{ } \n\
|
||||
[ ] \n\
|
||||
< > \n\
|
||||
# $ \n\
|
||||
% ^ \n\
|
||||
& @ \n\
|
||||
_ ~ \n\
|
||||
| = \n\
|
||||
' " \n\
|
||||
\\ BS \n\
|
||||
Return \n\
|
||||
Ct Sh Ag \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.ShiftAltgrKeys: \
|
||||
Escape Tab \n\
|
||||
+ - \n\
|
||||
* / \n\
|
||||
0 5 \n\
|
||||
1 6 \n\
|
||||
2 7 \n\
|
||||
3 8 \n\
|
||||
4 9 \n\
|
||||
. , \n\
|
||||
Left Right \n\
|
||||
Up Down \n\
|
||||
F1 F4 \n\
|
||||
F2 F5 \n\
|
||||
space BackSpace \n\
|
||||
Return \n\
|
||||
Control_L Shift_L Mode_switch \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.ShiftAltgrKeyLabels: \
|
||||
Esc Tab \n\
|
||||
+ - \n\
|
||||
* / \n\
|
||||
0 5 \n\
|
||||
1 6 \n\
|
||||
2 7 \n\
|
||||
3 8 \n\
|
||||
4 9 \n\
|
||||
. , \n\
|
||||
left right \n\
|
||||
up down \n\
|
||||
F1 F4 \n\
|
||||
F2 F5 \n\
|
||||
space BS \n\
|
||||
Return \n\
|
||||
Ct Sh Ag \n\
|
||||
Focus MainMenu
|
||||
|
||||
xvkbd.KeypadLabels: \
|
||||
Esc Tab \n\
|
||||
+ - \n\
|
||||
* / \n\
|
||||
0 F1 \n\
|
||||
1 F2 \n\
|
||||
2 F3 \n\
|
||||
3 F4 \n\
|
||||
4 F5 \n\
|
||||
5 F6 \n\
|
||||
6 F7 \n\
|
||||
7 F8 \n\
|
||||
8 F9 \n\
|
||||
9 F10 \n\
|
||||
. Ent \n\
|
||||
left right \n\
|
||||
up down \n\
|
||||
Del Ins
|
||||
|
||||
xvkbd.NormalKeypad: \
|
||||
Escape Tab \n\
|
||||
KP_Add KP_Subtract \n\
|
||||
KP_Multiply KP_Divide \n\
|
||||
KP_0 F1 \n\
|
||||
KP_1 F2 \n\
|
||||
KP_2 F3 \n\
|
||||
KP_3 F4 \n\
|
||||
KP_4 F5 \n\
|
||||
KP_5 F6 \n\
|
||||
KP_6 F7 \n\
|
||||
KP_7 F8 \n\
|
||||
KP_8 F9 \n\
|
||||
KP_9 F10 \n\
|
||||
. Enter \n\
|
||||
Left Right \n\
|
||||
Up Down \n\
|
||||
Delete Insert
|
79
development/autotests/xvkbd/XVkbd-swedish.ad
Normal file
79
development/autotests/xvkbd/XVkbd-swedish.ad
Normal file
@ -0,0 +1,79 @@
|
||||
!! XVkbd-swedish.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! with contribution from Hakan Lennestal
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Swedish layout
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Swedish)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*Shift_R.width: 60
|
||||
xvkbd*Return.width: 50
|
||||
xvkbd*Delete.width: 40
|
||||
xvkbd*Escape.width: 40
|
||||
xvkbd*space.width: 120
|
||||
xvkbd*row2.BackSpace.width: 65
|
||||
xvkbd*row2.BackSpace.horizDistance: 0
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
§ 1 2 3 4 5 6 7 8 9 0 + ´ Delete Escape \n\
|
||||
Tab q w e r t y u i o p å ¨ BackSpace \n\
|
||||
Control_L a s d f g h j k l ö ä ' Return \n\
|
||||
Shift_L < z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
½ ! " # ¤ % & / ( ) = ? ` Delete Escape \n\
|
||||
Tab Q W E R T Y U I O P Å ^ BackSpace \n\
|
||||
Control_L A S D F G H J K L Ö Ä * Return \n\
|
||||
Shift_L > Z X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
§ 1 @ £ $ 5 6 { [ ] } \\ ´ Delete Escape \n\
|
||||
Tab q w e r t y u i o p å ~ BackSpace \n\
|
||||
Control_L a s d f g h j k l ö ä ' Return \n\
|
||||
Shift_L | z x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
½\n§ !\n1 "\n2_@ #\n3_£ ¤\n4_$ %\n5 &\n6 \
|
||||
/\n7_{ (\n8_[ )\n9_] =\n0_} ?\n+_\\ `\n´ Del Esc \n\
|
||||
Tab Q W E R T Y U I O P Å ^\n¨_~ back \n\
|
||||
Control A S D F G H J K L Ö Ä *\n' Return \n\
|
||||
Shift >\n<_| Z X C V B N M ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
§ 1 2 3 4 5 6 7 8 9 0 + ´ Del Esc \n\
|
||||
Tab q w e r t y u i o p å ¨ back \n\
|
||||
Ctrl a s d f g h j k l ö ä ' Return \n\
|
||||
Shift < z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
½ ! " # ¤ % & / ( ) = ? ` Del Esc \n\
|
||||
Tab Q W E R T Y U I O P Å ^ back \n\
|
||||
Ctrl A S D F G H J K L Ö Ä * Return \n\
|
||||
Shift > Z X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
§ 1 @ £ $ 5 6 { [ ] } \\ ´ Del Esc \n\
|
||||
Tab q w e r t y u i o p å ~ back \n\
|
||||
Ctrl a s d f g h j k l ö ä ' Return \n\
|
||||
Shift | z x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
72
development/autotests/xvkbd/XVkbd-swissgerman.ad
Normal file
72
development/autotests/xvkbd/XVkbd-swissgerman.ad
Normal file
@ -0,0 +1,72 @@
|
||||
!! XVkbd-swissgerman.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! This app-defaults file is contributed from Marcel Portner
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to SwissGerman layout
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Swiss/German)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 ' ^ \247 $ \n\
|
||||
Tab q w e r t z u i o p \374 \250 Delete \n\
|
||||
Control_L a s d f g h j k l \366 \344 Return \n\
|
||||
Shift_L < y x c v b n m , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape + " * \347 % & / ( ) = ? ` \260 \243 \n\
|
||||
Tab Q W E R T Z U I O P \350 ! Delete \n\
|
||||
Control_L A S D F G H J K L \351 \340 Return \n\
|
||||
Shift_L > Y X C V B N M ; : _ Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape | @ # \274 \275 \254 \246 \242 9 0 \264 ~ + + \n\
|
||||
Tab q w e r t z u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l { } Return \n\
|
||||
Shift_L \\ y x c v b n \265 , . - Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc +\n1_| "\n2_@ *\n3_# \347\n4_\274 %\n5_\275 &\n6_\254 \
|
||||
/\n7_\246 (\n8_\242 )\n9 =\n0 ?\n'_\264 `\n^_~ \260\n\247 \243\n$ \n\
|
||||
Tab Q W E R T Z U I O P \350\n\374_[ !\n\250_] Del \n\
|
||||
Control A S D F G H J K L \351\n\366_{ \340\n\344_} Return \n\
|
||||
Shift >\n<_\\ Y X C V B N M_\265 ;\n, :\n. _\n- Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 ' ^ \247 $ \n\
|
||||
Tab q w e r t z u i o p \374 \250 Del \n\
|
||||
Ctrl a s d f g h j k l \366 \344 Return \n\
|
||||
Shift < y x c v b n m , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc + " * \347 % & / ( ) = ? ` \260 \243 \n\
|
||||
Tab Q W E R T Z U I O P \350 ! Del \n\
|
||||
Ctrl A S D F G H J K L \351 \340 Return \n\
|
||||
Shift > Y X C V B N M ; : _ Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc | @ # \274 \275 \254 \246 \242 9 0 \264 ~ + + \n\
|
||||
Tab q w e r t z u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l { } Return \n\
|
||||
Shift \\ y x c v b n \265 , . - Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
90
development/autotests/xvkbd/XVkbd-turkish.ad
Normal file
90
development/autotests/xvkbd/XVkbd-turkish.ad
Normal file
@ -0,0 +1,90 @@
|
||||
!! XVkbd-turkish.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-16
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to Turkish layout, roughly taken from
|
||||
! xkeycaps's "PC 105 key, wide Delete, tall Enter / XFree86; Turkish"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (Turkish)
|
||||
|
||||
xvkbd*generalFont: -*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-9
|
||||
xvkbd*letterFont: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-9
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 * - eacute , \n\
|
||||
Tab q w e r t y u i o p gbreve udiaeresis Delete \n\
|
||||
Control_L a s d f g h j k l scedilla idotless Return \n\
|
||||
Shift_L < z x c v b n m odiaeresis ccedilla . Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! ' ^ + % & / ( ) = ? _ " ; \n\
|
||||
Tab Q W E R T Y U I O P Gbreve Udiaeresis Delete \n\
|
||||
Control_L A S D F G H J K L Scedilla Iabovedot Return \n\
|
||||
Shift_L > Z X C V B N M Odiaeresis Ccedilla : Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.AltgrKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 # $ 5 6 { [ ] } \\ - eacute ` \n\
|
||||
Tab @ w e r t y u i o p gbreve ~ Delete \n\
|
||||
Control_L a s d f g h j k l scedilla idotless Return \n\
|
||||
Shift_L | z x c v b n m odiaeresis ccedilla . Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Mode_switch Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc !\n1 '\n2 ^\n3_# +\n4_$ %\n5 &\n6 /\n7_{ (\n8_[ )\n9_] =\n0_} \
|
||||
?\n*_\\ _\n- "\n\351 ;\n,_` \n\
|
||||
Tab Q W E R T Y U I O P \320 \334_~ Del \n\
|
||||
Control A S D F G H J K L \336 \335 Return \n\
|
||||
Shift >\n<_| Z X C V B N M \326 \307 :\n. Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 * - \351 , \n\
|
||||
Tab q w e r t y u i o p \360 \374 Del \n\
|
||||
Ctrl a s d f g h j k l \376 \375 Return \n\
|
||||
Shift < z x c v b n m \366 \347 . Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc ! ' ^ + % & / ( ) = ? _ " ; \n\
|
||||
Tab Q W E R T Y U I O P \320 \334 Del \n\
|
||||
Ctrl A S D F G H J K L \336 \335 Return \n\
|
||||
Shift > Z X C V B N M \326 \307 : Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
xvkbd.AltgrKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Esc 1 2 # $ 5 6 { [ ] } \\ - \351 ` \n\
|
||||
Tab @ w e r t y u i o p \360 ~ Del \n\
|
||||
Ctrl a s d f g h j k l \376 \375 Return \n\
|
||||
Shift | z x c v b n m \366 \347 . Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space AltGr left right up down Focus
|
||||
|
||||
|
||||
XVkbd.deadkeys: dead_diaeresis,dead_acute,dead_grave,\
|
||||
dead_circumflex,dead_macron,dead_abovering,dead_doubleacute,\
|
||||
dead_caron,dead_breve,\
|
||||
dead_tilde,dead_abovedot,\
|
||||
dead_ogonek,dead_cedilla
|
||||
|
||||
XVkbd*deadkey_panel*dead_caron.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_breve.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_ogonek.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_cedilla.font: -*-helvetica-medium-r-*-*-24-*-*-*-*-*-iso8859-2
|
||||
XVkbd*deadkey_panel*dead_caron.label: \267
|
||||
XVkbd*deadkey_panel*dead_breve.label: \242
|
||||
XVkbd*deadkey_panel*dead_ogonek.label: \262
|
||||
XVkbd*deadkey_panel*dead_cedilla.label: \270
|
54
development/autotests/xvkbd/XVkbd-uk.ad
Normal file
54
development/autotests/xvkbd/XVkbd-uk.ad
Normal file
@ -0,0 +1,54 @@
|
||||
!! XVkbd-uk.ad - sample app-defaults file for xvkbd
|
||||
!! by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
|
||||
!!
|
||||
!! Last update: 2002-04-04
|
||||
|
||||
#include "XVkbd-common"
|
||||
|
||||
! Make the virtual keyboard to UK layout, roughly taken from
|
||||
! xkeycaps's "102 key, wide Delete, tall Enter / XFree86; United Kingdom"
|
||||
!
|
||||
xvkbd.title: xvkbd - Virtual Keyboard (United Kingdom)
|
||||
|
||||
xvkbd*Shift_L.width: 45
|
||||
!xvkbd*space.width: 110
|
||||
|
||||
xvkbd.NormalKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape 1 2 3 4 5 6 7 8 9 0 - = ` # \n\
|
||||
Tab q w e r t y u i o p [ ] Delete \n\
|
||||
Control_L a s d f g h j k l ; ' Return \n\
|
||||
Shift_L \\ z x c v b n m , . / Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Meta_R Alt_R Left Right Up Down Focus
|
||||
|
||||
xvkbd.ShiftKeys: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 BackSpace \n\
|
||||
Escape ! " £ $ % ^ & * ( ) _ + ¬ ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Delete \n\
|
||||
Control_L A S D F G H J K L : @ Return \n\
|
||||
Shift_L | Z X C V B N M < > ? Multi_key Shift_R \n\
|
||||
MainMenu Caps_Lock Alt_L Meta_L space Meta_R Alt_R Left Right Up Down Focus
|
||||
|
||||
xvkbd.KeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc !\n1 "\n2 £\n3 $\n4 %\n5 ^\n6 &\n7 *\n8 (\n9 )\n0 _\n- +\n= ¬\n` ~\n# \n\
|
||||
Tab Q W E R T Y U I O P {\n[ }\n] Del \n\
|
||||
Control A S D F G H J K L :\n; @\n' Return \n\
|
||||
Shift |\n\\ Z X C V B N M <\n, >\n. ?\n/ Com\npose Shift \n\
|
||||
MainMenu Caps\nLock Alt Meta space Meta Alt left right up down Focus
|
||||
|
||||
xvkbd.NormalKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc 1 2 3 4 5 6 7 8 9 0 - = ` # \n\
|
||||
Tab q w e r t y u i o p [ ] Del \n\
|
||||
Ctrl a s d f g h j k l ; ' Return \n\
|
||||
Shift \\ z x c v b n m , . / Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Alt left right up down Focus
|
||||
|
||||
xvkbd.ShiftKeyLabels: \
|
||||
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Backspace \n\
|
||||
Esc ! " £ $ % ^ & * ( ) _ + ¬ ~ \n\
|
||||
Tab Q W E R T Y U I O P { } Del \n\
|
||||
Ctrl A S D F G H J K L : @ Return \n\
|
||||
Shift | Z X C V B N M < > ? Comp Shift \n\
|
||||
MainMenu Caps Alt Meta space Meta Alt left right up down Focus
|
1
development/autotests/xvkbd/XVkbd.ad
Normal file
1
development/autotests/xvkbd/XVkbd.ad
Normal file
@ -0,0 +1 @@
|
||||
#include "XVkbd-common"
|
351
development/autotests/xvkbd/findwidget.c
Normal file
351
development/autotests/xvkbd/findwidget.c
Normal file
@ -0,0 +1,351 @@
|
||||
/*
|
||||
* xvkbd - Virtual Keyboard for X Window System
|
||||
*
|
||||
* Copyright (C) 2000 by Tom Sato <VEF00200@nifty.ne.jp>
|
||||
* http://homepage3.nifty.com/tsato/
|
||||
*
|
||||
* 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; either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This code is derived from editres in X11R6 distribution.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xmu/EditresP.h>
|
||||
|
||||
#include "resources.h"
|
||||
|
||||
#define EDITRES_PROTOCOL_VERSION 5 /* Editres Protocol version 1.1 */
|
||||
#define EditresLocalSendWidgetTree 0 /* op code defined in Editres Protocol */
|
||||
|
||||
#define CLIENT_TIME_OUT 2000 /* 2sec */
|
||||
|
||||
static void RequestSendWidgetTree(Widget w); /* forward */
|
||||
static void LoseSelection(Widget w, Atom *sel); /* forward */
|
||||
|
||||
static Atom atom_comm = None;
|
||||
static Atom atom_command = None;
|
||||
static Atom atom_resource_editor = None;
|
||||
static Atom atom_editres_protocol = None;
|
||||
static Atom atom_client_value = None;
|
||||
|
||||
static ResIdent client_ident = 1;
|
||||
|
||||
static Window client_window = None;
|
||||
static ProtocolStream client_stream;
|
||||
static int effective_protocol_version;
|
||||
|
||||
static Boolean waiting_response;
|
||||
|
||||
/*
|
||||
* List of widgets will be stored in widget_list[], and number
|
||||
* of widgets will be stored in num_widget_list.
|
||||
*/
|
||||
static int num_widget_list = 0;
|
||||
|
||||
static struct WidgetList {
|
||||
Window window;
|
||||
unsigned long id;
|
||||
unsigned long parent;
|
||||
char *name;
|
||||
char *class;
|
||||
char *path;
|
||||
} *widget_list = NULL;
|
||||
|
||||
|
||||
/*
|
||||
* This function will be called when the client requests the
|
||||
* value of the selection.
|
||||
*/
|
||||
static Boolean ConvertCommand(Widget w,
|
||||
Atom *selection, Atom *target, Atom *type_ret,
|
||||
XtPointer *value_ret, unsigned long *length_ret,
|
||||
int *format_ret)
|
||||
{
|
||||
if ((*selection != atom_comm) || (*target != atom_command))
|
||||
return(FALSE);
|
||||
|
||||
*type_ret = atom_editres_protocol;
|
||||
*value_ret = (XtPointer)client_stream.real_top;
|
||||
*length_ret = client_stream.size + HEADER_SIZE;
|
||||
*format_ret = EDITRES_FORMAT;
|
||||
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
/*
|
||||
* Read response to the Editres LocalSendWidgetTree request
|
||||
* and make list of the widgets.
|
||||
* If appres.list is TRUE, list of all widgets will be printed
|
||||
* to the stdout.
|
||||
*/
|
||||
static void GetClientValue(Widget w, XtPointer data,
|
||||
Atom *selection, Atom *type, XtPointer value,
|
||||
unsigned long *length, int *format)
|
||||
{
|
||||
ProtocolStream stream;
|
||||
unsigned char ident, version, error_code;
|
||||
unsigned short num_entries;
|
||||
WidgetInfo widgets;
|
||||
char *name, *class, *err_msg;
|
||||
unsigned long window;
|
||||
int i, j;
|
||||
|
||||
if (*length == 0) return;
|
||||
|
||||
stream.current = stream.top = (unsigned char *)value;
|
||||
stream.size = HEADER_SIZE;
|
||||
|
||||
if (*length < HEADER_SIZE) {
|
||||
fprintf(stderr, "%s: incorrectly formatted message from client\n",
|
||||
PROGRAM_NAME);
|
||||
return;
|
||||
}
|
||||
|
||||
_XEditResGet8(&stream, &ident);
|
||||
if (client_ident != ident) {
|
||||
fprintf(stderr, "%s: wincorrect ident from client\n", PROGRAM_NAME);
|
||||
if (!XtOwnSelection(w, *selection, CurrentTime,
|
||||
ConvertCommand, LoseSelection, NULL))
|
||||
fprintf(stderr, "%s: XtOwnSelection() failed\n", PROGRAM_NAME);
|
||||
return;
|
||||
}
|
||||
|
||||
_XEditResGet8(&stream, &error_code);
|
||||
_XEditResGet32(&stream, &stream.size);
|
||||
stream.top = stream.current; /* reset stream to top of value */
|
||||
|
||||
switch ((int) error_code) {
|
||||
case PartialSuccess:
|
||||
if (widget_list != NULL) {
|
||||
for (i = 0; i < num_widget_list; i++) {
|
||||
XtFree(widget_list[i].name);
|
||||
XtFree(widget_list[i].class);
|
||||
XtFree(widget_list[i].path);
|
||||
}
|
||||
XtFree((void *)widget_list);
|
||||
widget_list = NULL;
|
||||
}
|
||||
|
||||
if (_XEditResGet16(&stream, &num_entries)) {
|
||||
widget_list = (struct WidgetList *)XtMalloc(sizeof(struct WidgetList)
|
||||
* num_entries);
|
||||
num_widget_list = num_entries;
|
||||
for (i = 0; i < num_entries; i++) {
|
||||
if (!(_XEditResGetWidgetInfo(&stream, &widgets) &&
|
||||
_XEditResGetString8(&stream, &name) &&
|
||||
_XEditResGetString8(&stream, &class) &&
|
||||
_XEditResGet32(&stream, &window))) {
|
||||
num_widget_list = i;
|
||||
break;
|
||||
}
|
||||
widget_list[i].window = window;
|
||||
widget_list[i].id = widgets.ids[widgets.num_widgets - 1];
|
||||
if (widgets.num_widgets < 2) widget_list[i].parent = 0;
|
||||
else widget_list[i].parent = widgets.ids[widgets.num_widgets - 2];
|
||||
widget_list[i].name = XtNewString(name);
|
||||
widget_list[i].class = XtNewString(class);
|
||||
|
||||
widget_list[i].path = NULL;
|
||||
if (widget_list[i].parent != 0) {
|
||||
for (j = 0; j < i; j++) {
|
||||
if (widget_list[j].id == widget_list[i].parent) {
|
||||
widget_list[i].path = XtMalloc(strlen(widget_list[j].path)
|
||||
+ strlen(widget_list[i].name) + 2);
|
||||
sprintf(widget_list[i].path, "%s.%s",
|
||||
widget_list[j].path, widget_list[i].name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (widget_list[i].path == NULL) {
|
||||
widget_list[i].path = XtMalloc(strlen(widget_list[i].name) + 2);
|
||||
sprintf(widget_list[i].path, "%s%s",
|
||||
(widget_list[i].parent != 0) ? "*" : "",
|
||||
widget_list[i].name);
|
||||
}
|
||||
if (appres.list_widgets) {
|
||||
fprintf(stdout, "0x%08lx 0x%08lx (%s) %s\n",
|
||||
(long)widget_list[i].window, (long)widget_list[i].id,
|
||||
widget_list[i].class, widget_list[i].path);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ProtocolMismatch:
|
||||
if (!_XEditResGet8(&stream, &version)) {
|
||||
fprintf(stderr, "%s: unable to unpack protocol request\n", PROGRAM_NAME);
|
||||
} else if (version == effective_protocol_version) {
|
||||
fprintf(stderr, "%s: internal error - ProtocolMismatch\n", PROGRAM_NAME);
|
||||
} else {
|
||||
fprintf(stderr, "%s: protocol version mismatch (requested=%d, supported=%d)\n",
|
||||
PROGRAM_NAME, (int)effective_protocol_version, (int)version);
|
||||
effective_protocol_version = version;
|
||||
RequestSendWidgetTree(w);
|
||||
}
|
||||
break;
|
||||
case Failure:
|
||||
if (!_XEditResGetString8(&stream, &err_msg)) {
|
||||
fprintf(stderr, "%s: unable to unpack protocol request\n", PROGRAM_NAME);
|
||||
} else {
|
||||
fprintf(stderr, "%s: %s\n", PROGRAM_NAME, err_msg);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "%s: unknown error code %d\n", PROGRAM_NAME, (int)error_code);
|
||||
break;
|
||||
}
|
||||
waiting_response = FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* This will be called when selection "EditresComm", and will
|
||||
* call GetClientValue() via XtGetSelectionValue().
|
||||
*
|
||||
* The selection is owned by this program when send the request
|
||||
* to the client, and will be lost when the client responded to
|
||||
* the request.
|
||||
*/
|
||||
static void LoseSelection(Widget w, Atom *sel)
|
||||
{
|
||||
XtGetSelectionValue(w, *sel, atom_client_value, GetClientValue,
|
||||
NULL, XtLastTimestampProcessed(XtDisplay(w)));
|
||||
}
|
||||
|
||||
/*
|
||||
* Send the Editres LocalSendWidgetTree request to the client.
|
||||
*/
|
||||
static void RequestSendWidgetTree(Widget w)
|
||||
{
|
||||
XClientMessageEvent client_event;
|
||||
|
||||
client_ident = client_ident + 1;
|
||||
|
||||
_XEditResResetStream(&client_stream);
|
||||
client_stream.current = client_stream.real_top;
|
||||
client_stream.alloc = client_stream.size + (2 * HEADER_SIZE);
|
||||
|
||||
_XEditResPut8(&client_stream, client_ident);
|
||||
_XEditResPut8(&client_stream, (unsigned char)EditresLocalSendWidgetTree);
|
||||
_XEditResPut32(&client_stream, client_stream.size);
|
||||
|
||||
if (!XtOwnSelection(w, atom_comm, CurrentTime,
|
||||
ConvertCommand, LoseSelection, NULL))
|
||||
fprintf(stderr, "%s: XtOwnSelection() failed\n", PROGRAM_NAME);
|
||||
|
||||
client_event.window = client_window;
|
||||
client_event.type = ClientMessage;
|
||||
client_event.message_type = atom_resource_editor;
|
||||
client_event.format = EDITRES_SEND_EVENT_FORMAT;
|
||||
client_event.data.l[0] = XtLastTimestampProcessed(XtDisplay(w));
|
||||
client_event.data.l[1] = atom_comm;
|
||||
client_event.data.l[2] = (long)client_ident;
|
||||
client_event.data.l[3] = effective_protocol_version;
|
||||
|
||||
XSendEvent(XtDisplay(w), client_event.window, FALSE, (long)0,
|
||||
(XEvent *)&client_event);
|
||||
}
|
||||
|
||||
/*
|
||||
* Clients which doesn't support Editres protocol will not respond
|
||||
* to the LocalSendWidgetTree request - we must detect it as timeout.
|
||||
*/
|
||||
static void ClientTimeOut(XtPointer client_data, XtIntervalId *id)
|
||||
{
|
||||
fprintf(stderr, "%s: client 0x%lx didn't responded to Editres Protocol request\n",
|
||||
PROGRAM_NAME, (long)client_window);
|
||||
waiting_response = FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Find a widget which name matches the specified pattern, and
|
||||
* return the window-id of the widget. If there are two or more
|
||||
* matched widgets, one of them will be returned.
|
||||
*
|
||||
* If name of the widget to be matched is "foo.bar.zot", the pattern
|
||||
* (argument "name") can be "zot", "bar.zot" or "foo.bar.zot".
|
||||
* The pattern can leaded with "*" such as "*zot", but "*" can't be
|
||||
* used between the words (i.e., "foo*zot" is not allowed).
|
||||
*/
|
||||
Window FindWidget(Widget w, Window client, const char *name)
|
||||
{
|
||||
XEvent event;
|
||||
XtAppContext app_con;
|
||||
XtIntervalId timer_id;
|
||||
const char *pattern;
|
||||
int pattern_len, inx, i;
|
||||
|
||||
if (waiting_response) {
|
||||
fprintf(stderr, "%s: list widget requested recursively (ignored)\n",
|
||||
PROGRAM_NAME);
|
||||
return None;
|
||||
}
|
||||
|
||||
if (appres.debug)
|
||||
fprintf(stderr, "%s: list widget tree for window 0x%lx\n",
|
||||
PROGRAM_NAME, (long)client);
|
||||
|
||||
if (atom_comm == None) {
|
||||
Display *dpy = XtDisplay(w);
|
||||
atom_comm = XInternAtom(dpy, EDITRES_COMM_ATOM, False);
|
||||
atom_command = XInternAtom(dpy, EDITRES_COMMAND_ATOM, False);
|
||||
atom_resource_editor = XInternAtom(dpy, EDITRES_NAME, False);
|
||||
atom_editres_protocol = XInternAtom(dpy, EDITRES_PROTOCOL_ATOM, False);
|
||||
atom_client_value = XInternAtom(dpy, EDITRES_CLIENT_VALUE, False);
|
||||
}
|
||||
|
||||
client_window = client;
|
||||
effective_protocol_version = EDITRES_PROTOCOL_VERSION;
|
||||
app_con = XtWidgetToApplicationContext(w);
|
||||
|
||||
timer_id = XtAppAddTimeOut(app_con, CLIENT_TIME_OUT, ClientTimeOut, NULL);
|
||||
waiting_response = TRUE;
|
||||
RequestSendWidgetTree(w);
|
||||
while (waiting_response) {
|
||||
XtAppNextEvent(app_con, &event);
|
||||
XtDispatchEvent(&event);
|
||||
}
|
||||
XtRemoveTimeOut(timer_id);
|
||||
|
||||
if (widget_list != NULL && strlen(name) != 0) {
|
||||
pattern = name;
|
||||
if (pattern[0] == '*') pattern = pattern + 1;
|
||||
if (strchr(pattern, '*') != NULL)
|
||||
fprintf(stderr, "%s: pattern should not include \"*\": %s\n",
|
||||
PROGRAM_NAME, name);
|
||||
pattern_len = strlen(pattern);
|
||||
for (i = 0; i < num_widget_list; i++) {
|
||||
if (appres.debug)
|
||||
fprintf(stderr, "FindWidget: %s\n", widget_list[i].path);
|
||||
inx = strlen(widget_list[i].path) - pattern_len;
|
||||
if (0 <= inx) {
|
||||
if (1 <= inx && widget_list[i].path[inx - 1] != '.'
|
||||
&& widget_list[i].path[inx - 1] != '*') continue;
|
||||
if (strcmp(&widget_list[i].path[inx], pattern) == 0) break;
|
||||
}
|
||||
}
|
||||
if (i < num_widget_list) {
|
||||
if (appres.debug)
|
||||
fprintf(stderr, "%s: matched widget: %s (id=0x%lx, window=0x%lx)\n",
|
||||
PROGRAM_NAME, widget_list[i].path,
|
||||
(long)widget_list[i].id, (long)widget_list[i].window);
|
||||
return widget_list[i].window;
|
||||
}
|
||||
}
|
||||
if (appres.debug && widget_list == NULL)
|
||||
fprintf(stderr, "FindWidget: couldn't get widget list\n");
|
||||
if (strlen(name) != 0) {
|
||||
fprintf(stderr, "%s: no widget matched to pattern \"%s\"\n",
|
||||
PROGRAM_NAME, name);
|
||||
}
|
||||
|
||||
return None;
|
||||
}
|
5
development/autotests/xvkbd/iconify.xbm
Normal file
5
development/autotests/xvkbd/iconify.xbm
Normal file
@ -0,0 +1,5 @@
|
||||
#define iconify_width 8
|
||||
#define iconify_height 13
|
||||
static unsigned char iconify_bits[] = {
|
||||
0x00, 0x40, 0x60, 0x70, 0x78, 0x7c, 0x7e, 0x7c, 0x78, 0x70, 0x60, 0x40,
|
||||
0x00};
|
111
development/autotests/xvkbd/resources.h
Normal file
111
development/autotests/xvkbd/resources.h
Normal file
@ -0,0 +1,111 @@
|
||||
/*
|
||||
* xvkbd - Virtual Keyboard for X Window System
|
||||
*
|
||||
* Copyright (C) 2000 by Tom Sato <VEF00200@nifty.ne.jp>
|
||||
* http://homepage3.nifty.com/tsato/
|
||||
*
|
||||
* 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; either version 2
|
||||
* of the License, or any later version.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef PROGRAM_NAME
|
||||
# define PROGRAM_NAME "xvkbd"
|
||||
#endif
|
||||
|
||||
struct appres_struct {
|
||||
String description;
|
||||
String show_manual_command;
|
||||
|
||||
String geometry;
|
||||
Boolean inherit_geometry;
|
||||
Boolean version;
|
||||
Boolean debug;
|
||||
Boolean xtest;
|
||||
Boolean no_sync;
|
||||
Boolean always_on_top;
|
||||
Boolean wm_toolbar;
|
||||
Boolean jump_pointer;
|
||||
Boolean jump_pointer_always;
|
||||
Boolean jump_pointer_back;
|
||||
Boolean quick_modifiers;
|
||||
Boolean altgr_lock;
|
||||
Boolean shift_lock;
|
||||
Boolean modifiers_lock;
|
||||
Boolean num_lock_state;
|
||||
Boolean auto_repeat;
|
||||
Boolean modal_keytop;
|
||||
Boolean minimizable;
|
||||
Boolean secure;
|
||||
Boolean no_root;
|
||||
Boolean nonexitable;
|
||||
int modal_threshold;
|
||||
Boolean keypad;
|
||||
Boolean function_key;
|
||||
Boolean compact;
|
||||
Boolean keypad_only;
|
||||
Boolean keypad_keysym;
|
||||
Boolean auto_add_keysym;
|
||||
Boolean list_widgets;
|
||||
String positive_modifiers;
|
||||
String text;
|
||||
String file;
|
||||
String window;
|
||||
String instance;
|
||||
String widget;
|
||||
XFontStruct *general_font;
|
||||
XFontStruct *letter_font;
|
||||
XFontStruct *special_font;
|
||||
XFontStruct *keypad_font;
|
||||
#ifdef USE_I18N
|
||||
XFontSet special_fontset;
|
||||
#endif
|
||||
Pixel general_background;
|
||||
Pixel special_background;
|
||||
Pixel special_foreground;
|
||||
Pixel highlight_background;
|
||||
Pixel highlight_foreground;
|
||||
Pixel focus_background;
|
||||
Pixel remote_focus_background;
|
||||
Pixel balloon_background;
|
||||
Pixel launch_balloon_background;
|
||||
|
||||
String keys_normal;
|
||||
String keys_shift;
|
||||
String keys_altgr;
|
||||
String keys_shift_altgr;
|
||||
String key_labels;
|
||||
String normal_key_labels;
|
||||
String shift_key_labels;
|
||||
String altgr_key_labels;
|
||||
String shift_altgr_key_labels;
|
||||
|
||||
String keypad_normal;
|
||||
String keypad_shift;
|
||||
String keypad_labels;
|
||||
|
||||
String deadkeys;
|
||||
int altgr_keycode;
|
||||
|
||||
String key_file;
|
||||
String dict_file;
|
||||
String customizations;
|
||||
int editable_function_keys;
|
||||
|
||||
float max_width_ratio;
|
||||
float max_height_ratio;
|
||||
int text_delay;
|
||||
int key_click_pitch;
|
||||
int key_click_duration;
|
||||
int autoclick_delay;
|
||||
} appres;
|
||||
|
||||
|
||||
/* FindWidget() is defined in findwidget.c */
|
||||
extern Window FindWidget(Widget w, Window client, const char *name);
|
3689
development/autotests/xvkbd/xvkbd.c
Normal file
3689
development/autotests/xvkbd/xvkbd.c
Normal file
File diff suppressed because it is too large
Load Diff
1219
development/autotests/xvkbd/xvkbd.man
Normal file
1219
development/autotests/xvkbd/xvkbd.man
Normal file
File diff suppressed because it is too large
Load Diff
10
development/autotests/xvkbd/xvkbd.xbm
Normal file
10
development/autotests/xvkbd/xvkbd.xbm
Normal file
@ -0,0 +1,10 @@
|
||||
#define xvkbd_width 28
|
||||
#define xvkbd_height 20
|
||||
static unsigned char xvkbd_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04,
|
||||
0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x02, 0x04, 0x00, 0x00, 0x02, 0x07,
|
||||
0x00, 0x10, 0x82, 0x05, 0x00, 0x10, 0xda, 0x04, 0x00, 0x90, 0x56, 0x04,
|
||||
0x00, 0xdc, 0x62, 0x04, 0x40, 0x54, 0xa2, 0x06, 0x60, 0x36, 0xb2, 0x03,
|
||||
0xd6, 0x72, 0x1a, 0x00, 0x9c, 0xd2, 0x06, 0x00, 0x98, 0x93, 0x01, 0x00,
|
||||
0x38, 0x11, 0x00, 0x00, 0x2c, 0x01, 0x00, 0x00, 0x44, 0x00, 0x00, 0x00,
|
||||
0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
27
development/autotests/xvkbd/xvkbd_icon.xbm
Normal file
27
development/autotests/xvkbd/xvkbd_icon.xbm
Normal file
@ -0,0 +1,27 @@
|
||||
#define xvkbd_icon_width 48
|
||||
#define xvkbd_icon_height 48
|
||||
static unsigned char xvkbd_icon_bits[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x55, 0x05, 0xa0, 0xaa, 0x02,
|
||||
0xaa, 0xaa, 0x2a, 0x54, 0x55, 0x15, 0x54, 0x55, 0x55, 0xaa, 0xaa, 0x2a,
|
||||
0x00, 0x00, 0x68, 0x14, 0x00, 0x34, 0x00, 0x00, 0xf0, 0x0a, 0x00, 0x78,
|
||||
0x00, 0x00, 0xe0, 0xc5, 0x03, 0x71, 0x00, 0x00, 0xc0, 0xc2, 0x83, 0x60,
|
||||
0x00, 0x00, 0xe0, 0x85, 0x47, 0x70, 0x00, 0x00, 0xc0, 0x02, 0x4f, 0x60,
|
||||
0x00, 0x00, 0xe0, 0x05, 0x2e, 0x70, 0x00, 0x00, 0xc0, 0x02, 0x16, 0x60,
|
||||
0x00, 0x00, 0xe0, 0x05, 0x3a, 0x70, 0x00, 0x00, 0xc0, 0x02, 0x79, 0x60,
|
||||
0x00, 0x00, 0xe0, 0x05, 0xf1, 0x70, 0x00, 0x00, 0xc0, 0x82, 0xf0, 0x60,
|
||||
0x00, 0x00, 0xe0, 0x45, 0xe0, 0x71, 0x00, 0x00, 0xc0, 0x02, 0x00, 0x60,
|
||||
0x00, 0x00, 0xe0, 0x05, 0x00, 0x70, 0x00, 0x00, 0xd0, 0x0a, 0x00, 0x68,
|
||||
0x00, 0x00, 0x68, 0x14, 0x00, 0x34, 0x54, 0x55, 0x75, 0xba, 0xaa, 0x3a,
|
||||
0xfe, 0xff, 0x3f, 0xfc, 0xff, 0x1f, 0xfe, 0xff, 0x0f, 0xf0, 0xff, 0x07,
|
||||
0x00, 0x00, 0x00, 0x00, 0x40, 0x15, 0x00, 0x00, 0x00, 0x00, 0xa8, 0x2a,
|
||||
0x00, 0x00, 0x00, 0x00, 0x54, 0x15, 0x00, 0x00, 0x00, 0x00, 0x28, 0x00,
|
||||
0x00, 0x00, 0x00, 0x10, 0x14, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0a, 0x00,
|
||||
0x00, 0x00, 0x00, 0x10, 0x04, 0x00, 0x00, 0x00, 0x08, 0x10, 0x0a, 0x00,
|
||||
0x00, 0x00, 0x08, 0x1c, 0x04, 0x00, 0x00, 0x40, 0x08, 0x16, 0x0a, 0x00,
|
||||
0x00, 0x40, 0x68, 0x13, 0x04, 0x00, 0x00, 0x40, 0x5a, 0x11, 0x0a, 0x00,
|
||||
0x00, 0x70, 0x8b, 0x11, 0x04, 0x00, 0x00, 0x51, 0x89, 0x1a, 0x0a, 0x00,
|
||||
0x80, 0xd9, 0xc8, 0x0e, 0x04, 0x00, 0x58, 0xcb, 0x69, 0x00, 0x0a, 0x00,
|
||||
0x70, 0x4a, 0x1b, 0x00, 0x04, 0x00, 0x60, 0x4e, 0x06, 0x00, 0x0a, 0x00,
|
||||
0xe0, 0x44, 0x00, 0x00, 0x14, 0x00, 0xb0, 0x04, 0x00, 0x00, 0x28, 0x00,
|
||||
0x10, 0x01, 0x00, 0x00, 0x74, 0x15, 0x18, 0x00, 0x00, 0x00, 0xf8, 0x3f,
|
||||
0x00, 0x00, 0x00, 0x00, 0xe0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
27
development/autotests/xvkbd/xvkbd_iconmask.xbm
Normal file
27
development/autotests/xvkbd/xvkbd_iconmask.xbm
Normal file
@ -0,0 +1,27 @@
|
||||
#define xvkbd_iconmask_width 48
|
||||
#define xvkbd_iconmask_height 48
|
||||
static unsigned char xvkbd_iconmask_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
|
Loading…
Reference in New Issue
Block a user