Author Topic: Lots Of Keymapping Questions  (Read 14194 times)

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Lots Of Keymapping Questions
« Reply #15 on: December 08, 2006, 05:42:57 am »
Sure, here is the contents:
Code: [Select]
#####
#
# Exec
# keycode, modifier,     Exec,  Command,          Extra parameters
#
#######################################################
#keycode=25,        Control+Shift,  Exec, xterm -fg green2 -bg black -sb -sl 1000 -cr green2, Fork, NoAutoRepeat
#keycode=49,        Control,  Exec, xmodmap -e "pointer = 1 2 3", NoFork, NoAutoRepeat
#keycode=50,        Control,  Exec, xmodmap -e "pointer = 2 1 3", NoFork, NoAutoRepeat
#keycode=51,        Control,  Exec, xmodmap -e "pointer = 3 2 1", NoFork, NoAutoRepeat
keycode=110,        none,     Exec, chkhinge, NoFork, NoAutoRepeat
#keycode=49,         Mode_switch,     Exec, xrandr -s 0, NoFork, NoAutoRepeat
#keycode=50,         Mode_switch,     Exec, xrandr -s 1, NoFork, NoAutoRepeat
#keycode=51,         Mode_switch,     Exec, setfl -, NoFork, NoAutoRepeat
#keycode=52,         Mode_switch,     Exec, setfl +, NoFork, NoAutoRepeat

My edits were to comment out the last four lines. Clearly it's only for key mappings in X11.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Lots Of Keymapping Questions
« Reply #16 on: January 04, 2007, 10:44:34 pm »
I finally got accessx (sticky keys) working the way I like, ie the same as in Sharp/Cacko with keyhelper enabled.

you will need to enable accessx in startx script by setting defaultserverargs to " +kb +accessx -screen 480x640@270"

then use the ax utility (which I have compiled and packaged up) with the following options to enable sticky keys:

ax +stickykeys -stickytwokeydisable -timeout
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Lots Of Keymapping Questions
« Reply #17 on: April 03, 2007, 07:22:12 pm »
I updated spitz.xmodmap as follows:

http://www.users.on.net/~hluc/myZaurus/pdaxii13.html#keymap


this works well with sticky keys and the silkscreen and supports most characters required by german and french words...

the only problem is caps lock which requires hacking Xfbdev and thus caps lock is disabled. the other annoyance is that you cannot use Fn+1,... which I worked around by assiging those to Super+1,... but to fix that Xfbdev needs to be hacked as well just like the caps lock problem...

btw, silkscreen work because of a patch in Xfbdev...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K