Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Customize eventKey.cfg

iberianpig edited this page Apr 29, 2015 · 7 revisions

You can customize gesture by editing eventKey.cfg. xSwipe use "PressKey"and "ReleaseKey" in X11::GUITest when you swipe touchpad. http://search.cpan.org/~ctrondlp/X11-GUITest-0.25/GUITest.pm

Please edit KEYS in double quotation mark. ex) "LAL/RIG" # Press KEYS, "ALT_L" and "Right" at a time.

finger3=>{
    right   =>  "LAL/RIG",       # alt +  right 
    left    =>  "LAL/LEF",       # alt +  left 
    down    =>  "LCT/LAL/DOW",   # ctrl + alt +  down
    up      =>  "LCT/LAL/UP",    # ctrl + alt +  up
},             

KEYS

The following abbreviated key names are currently recognized within a brace set. If you don't see the desired key, you can still use the unabbreviated name for the key. If you are unsure of this name, utilize the xev (X event view) tool, press the key you want and look at the tools output for the name of that key. Names that are in the list below can be utilized regardless of case. Ones that aren't in this list are going to be case sensitive and also not abbreviated. For example, using 'xev' you will find that the name of the backspace key is BackSpace, so you could use {BackSpace} in place of {bac} if you really wanted to.

Update at 2014/07/13

NOTE: latest version of X11-GUITest after 0.27, down key alias is changed to "DOWN" From "DOW".

(http://search.cpan.org/~ctrondlp/X11-GUITest-0.28/GUITest.pm)
Check version with apt list --installed | grep libx11-guitest-perl

    Name    Action
    -------------------
    BAC     BackSpace
    BS      BackSpace
    BKS     BackSpace
    BRE     Break
    CAN     Cancel
    CAP     Caps_Lock
    DEL     Delete
  + DOWN    Down
  - DOW     Down
    END     End
    ENT     Return
    ESC     Escape
    F1      F1
    ...     ...
    F12     F12
    HEL     Help
    HOM     Home
    INS     Insert
    LAL     Alt_L
    LMA     Meta_L
    LCT     Control_L
    LEF     Left
    LSH     Shift_L
    LSK     Super_L
    MNU     Menu
    NUM     Num_Lock
    PGD     Page_Down
    PGU     Page_Up
    PRT     Print
    RAL     Alt_R
    RMA     Meta_R
    RCT     Control_R
    RIG     Right
    RSH     Shift_R
    RSK     Super_R
    SCR     Scroll_Lock
    SPA     Space
    SPC     Space
    TAB     Tab
    UP      Up