From db5bf08bc734cf52908ffee85978d26c6c598dba Mon Sep 17 00:00:00 2001 From: frank Date: Mon, 16 Jan 2012 14:31:32 +0100 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +media-libs/libgii-1.0.2 --- .etckeeper | 5 ++++ ggi/filter/keytrans | 24 +++++++++++++++++ ggi/filter/mouse | 65 ++++++++++++++++++++++++++++++++++++++++++++ ggi/libgii.conf | 66 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 160 insertions(+) create mode 100644 ggi/filter/keytrans create mode 100644 ggi/filter/mouse create mode 100644 ggi/libgii.conf diff --git a/.etckeeper b/.etckeeper index e8db243c..102d4a17 100755 --- a/.etckeeper +++ b/.etckeeper @@ -404,6 +404,11 @@ maybe chmod 0644 './gconf/schemas/system_http_proxy.schemas' maybe chmod 0644 './gconf/schemas/system_smb.schemas' maybe chmod 0644 './gentoo-init.lisp' maybe chmod 0644 './gentoo-release' +maybe chmod 0755 './ggi' +maybe chmod 0755 './ggi/filter' +maybe chmod 0644 './ggi/filter/keytrans' +maybe chmod 0644 './ggi/filter/mouse' +maybe chmod 0644 './ggi/libgii.conf' maybe chmod 0644 './gitconfig' maybe chmod 0755 './gnome-vfs-2.0' maybe chmod 0755 './gnome-vfs-2.0/modules' diff --git a/ggi/filter/keytrans b/ggi/filter/keytrans new file mode 100644 index 00000000..5cc50e17 --- /dev/null +++ b/ggi/filter/keytrans @@ -0,0 +1,24 @@ +# +# Key mapping file for the filter-keytrans +# +# syntax: +# 1 entry per line, consisting of 10 numbers: +# modifier_mask : consider only the bits set here +# modifier_value : the bits set above must match value +# +# button_in : If this is not KEY_UNMAPPED==0xffff, the +# label_in : button/label/symbol of the incoming key must +# symbol_in : match these fields. +# +# modifier_changemask : change these bits from the original modifiers +# modifier_ormask: set them to these - one shouldn't use that. +# +# button_out : The data that is then sent by the keymapper. +# label_out : Any fields set to KEY_UNMAPPED==0xffff will be +# symbol_out : copied from the incoming event. +# +# Example: +# take any key that produces a symbol of 0x41 ('A') map it to ESC +# +# modmsk modval buttin lablin symin modchg modor butout labout symout +# 0x0000 0x0000 0xffff 0xffff 0x0041 0x0000 0x0000 0xffff 0xffff 0x001b diff --git a/ggi/filter/mouse b/ggi/filter/mouse new file mode 100644 index 00000000..5c62fc08 --- /dev/null +++ b/ggi/filter/mouse @@ -0,0 +1,65 @@ +# +# Sample mouse filter file. Uncomment to your liking +# + +# Syntax is: +# incoming-type [type-specifics] TO outgoing type [type-specifics] + +# +# Simulated mouse buttons on the keyboard +# +#KEY modmask modvalue button label symbol TO BUT buttonnumber +#KEY 0x0004 0x0004 0xffff 0x000d 0xffff TO BUT 1 # Alt-Enter +#KEY 0x0004 0x0004 0xffff 0x0020 0xffff TO BUT 2 # Alt-Space +#KEY 0x0004 0x0004 0xffff 0x0008 0xffff TO BUT 3 # Alt-BackSpace + +# +# Keyboard-Mouse on the Cursors +# +#KEY modmask modval button label symbol TO REL axis value +#KEY 0x0004 0x0004 0xffff 0xe034 0xffff TO REL X -5 # Alt-Left +#KEY 0x0004 0x0004 0xffff 0xe035 0xffff TO REL X 5 # Alt-Right +#KEY 0x0004 0x0004 0xffff 0xe032 0xffff TO REL Y -5 # Alt-Up +#KEY 0x0004 0x0004 0xffff 0xe033 0xffff TO REL Y 5 # Alt-Down + +# +# Keyboard mouse on the Numpad +# +#KEY 0x0004 0x0004 0xffff 0xe231 0xffff TO REL X -5 # Alt-Num1 +#KEY 0x0004 0x0004 0xffff 0xe231 0xffff TO REL Y 5 # Alt-Num1 +#KEY 0x0004 0x0004 0xffff 0xe232 0xffff TO REL Y 5 # Alt-Num2 +#KEY 0x0004 0x0004 0xffff 0xe233 0xffff TO REL X 5 # Alt-Num3 +#KEY 0x0004 0x0004 0xffff 0xe233 0xffff TO REL Y 5 # Alt-Num3 +#KEY 0x0004 0x0004 0xffff 0xe234 0xffff TO REL X -5 # Alt-Num4 +#KEY 0x0004 0x0004 0xffff 0xe235 0xffff TO BUT 1 # Alt-Num5 - Button +#KEY 0x0004 0x0004 0xffff 0xe236 0xffff TO REL X 5 # Alt-Num6 +#KEY 0x0004 0x0004 0xffff 0xe237 0xffff TO REL X -5 # Alt-Num7 +#KEY 0x0004 0x0004 0xffff 0xe237 0xffff TO REL Y -5 # Alt-Num7 +#KEY 0x0004 0x0004 0xffff 0xe238 0xffff TO REL Y -5 # Alt-Num8 +#KEY 0x0004 0x0004 0xffff 0xe239 0xffff TO REL X 5 # Alt-Num9 +#KEY 0x0004 0x0004 0xffff 0xe239 0xffff TO REL Y -5 # Alt-Num9 + +# +# Home the cursor ... +# +# KEY 0x0004 0x0004 0xffff 0xE038 0xffff TO ABS X 0 # Alt-Home +# KEY 0x0004 0x0004 0xffff 0xE038 0xffff TO ABS Y 0 # Alt-Home + +# +# Invert mouse axis +# +# REL modmsk modval axis TO REL axis multiplier +# REL 0x0004 0x0004 X TO REL Y -1 +# REL 0x0004 0x0004 Y TO REL X -1 + +# +# Accelerate mouse +# +# multiplier treshold higher-speed +#REL 0x0004 0x0004 X TO REL X 1 5 4 +#REL 0x0004 0x0004 Y TO REL Y 1 5 4 + +# +# +#BUT 0x0004 0x0004 1 TO BUT 2 +#BUT 0x0004 0x0004 2 TO BUT 1 diff --git a/ggi/libgii.conf b/ggi/libgii.conf new file mode 100644 index 00000000..368296b1 --- /dev/null +++ b/ggi/libgii.conf @@ -0,0 +1,66 @@ +# Mapping file for suggest-strings to libraries +.root: /usr/lib64/ggi + +# +# Target name location +# ----------- -------- +input-null input/null.so:GIIdl_null +input-file input/file.so:GIIdl_file +input-stdin input/stdin.so:GIIdl_stdin +input-x input/x.so:GIIdl_x +input-xwin input/x.so:GIIdl_xwin +input-mouse input/mouse.so:GIIdl_mouse +input-linux-mouse input/linux_mouse.so:GIIdl_linux_mouse +input-linux-kbd input/linux_kbd.so:GIIdl_linux_kbd +input-linux-joy input/linux_joy.so:GIIdl_linux_joy +input-linux-evdev input/linux_evdev.so:GIIdl_linux_evdev +input-vgl input/vgl.so:GIIdl_vgl +input-spaceorb input/spaceorb.so:GIIdl_spaceorb +input-tcp input/tcp.so:GIIdl_tcp +input-directx input/dxinput.so:GIIdl_directx +input-pcjoy input/pcjoy.so:GIIdl_pcjoy +input-ipaq-touchscreen input/ipaq.so:GIIdl_ipaq +input-zaurus-touchscreen input/zaurus.so:GIIdl_zaurus +input-kii input/kii.so:GIIdl_kii +input-cocoa input/cocoa.so:GIIdl_cocoa +input-quartz input/quartz.so:GIIdl_quartz +input-xf86dga input/x.so:GIIdl_xf86dga + +# Aliases +# ------- +alias null input-null +alias file input-file +alias stdin input-stdin +alias x input-x +alias xwin input-xwin +alias mouse input-mouse +alias linux-mouse input-linux-mouse +alias linux-kbd input-linux-kbd +alias linux-joy input-linux-joy +alias linux-evdev input-linux-evdev +alias vgl input-vgl +alias spaceorb input-spaceorb +alias tcp input-tcp +alias directx input-directx +alias pcjoy input-pcjoy +alias ipaq-ts input-ipaq-touchscreen +alias zaurus-ts input-zaurus-touchscreen +alias kii input-kii +alias cocoa input-cocoa +alias quartz input-quartz +alias xf86dga input-xf86dga + +# +# Filter libs +# ----------- +filter-mouse filter/mouse.so:GIIdl_filter_mouse +filter-keytrans filter/keytrans.so:GIIdl_filter_keytrans +alias filter-key filter-keytrans +filter-save filter/save.so:GIIdl_filter_save +filter-tcp filter/tcp.so:GIIdl_filter_tcp + +# +# Builtins targets +# ---------------- +filter-* @libgii +input-* @libgii -- 2.39.5