Author Topic: Broken Up Arrow And Keymap Questions  (Read 2121 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Broken Up Arrow And Keymap Questions
« on: February 08, 2007, 06:05:44 pm »
In a fresh install of r121, the up arrow works fine and repeats. When I went and edited inputconfig.py to make right clicking work in Fluxbox, it stopped repeating. The other arrows repeat fine as does up on the jog dial. How can I fix this?

As a note, when I set the jog dial keycodes to up and down in the xmodmap, the down does not repeat. What makes some repeat and others not? I have no tried to fix the mapping in the input config script.

I'm also trying to remap the enter key as a second control key. I can get it to pass the "Control_L" value to the Zaurus (as tested with xev), the same as the Ctrl key, but it repeats if you hold it down. Where can I disable this and make it act as a modifier?

Any input would be much appreciated!
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Broken Up Arrow And Keymap Questions
« Reply #1 on: February 08, 2007, 06:40:42 pm »
Quote
In a fresh install of r121, the up arrow works fine and repeats. When I went and edited inputconfig.py to make right clicking work in Fluxbox, it stopped repeating. The other arrows repeat fine as does up on the jog dial. How can I fix this?

As a note, when I set the jog dial keycodes to up and down in the xmodmap, the down does not repeat. What makes some repeat and others not? I have no tried to fix the mapping in the input config script.

I'm also trying to remap the enter key as a second control key. I can get it to pass the "Control_L" value to the Zaurus (as tested with xev), the same as the Ctrl key, but it repeats if you hold it down. Where can I disable this and make it act as a modifier?

Any input would be much appreciated!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153532\"][{POST_SNAPBACK}][/a][/div]

The Inputconfig.py probably will not do what you want, since it is just a basic interface to update a few keymappings and there were quite a lot of bugs in it also in previous versions which hopefully have been fixed in r121. your best bet would be to bypass it and modify the keymap file directly. as for the repeats, use xset to set the keyboard repeat rate and also which key code has repeats turned on or off...
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

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Broken Up Arrow And Keymap Questions
« Reply #2 on: February 08, 2007, 08:01:05 pm »
xset won't let me turn on repeating for keycode 111 (up). If I turn off repeats for some other key, like jog dial up, all repeats go off. The command I used was:

xset -r 111 r on

Any ideas?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Broken Up Arrow And Keymap Questions
« Reply #3 on: February 09, 2007, 02:12:30 am »
Quote
xset -r 111 r on
You're conflating two columns of options there (and not even from the right line  ) You want just "xset r 111" to turn on autorepeat for that key; "xset -r 111" turns it off.

"xset r off" turns all autorepeat off, and "xset r on" turns autorepeat back on for those keys which had it before the "r off". Well, I think that's the case anyway...
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Broken Up Arrow And Keymap Questions
« Reply #4 on: February 09, 2007, 02:15:04 pm »
I just tried #xset r 111, still no joy.

Anything else I may be doing wrong?

It stopped working after either I ran the inputconfig.py script or after I edited it (I can't remember which), so I'm guessing that that has something to do with it.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo