Author Topic: cursor control?  (Read 4088 times)

nianderson

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
cursor control?
« on: July 17, 2004, 05:38:29 pm »
is there any way to move the curser without the stylus?

nianderson

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
cursor control?
« Reply #1 on: July 19, 2004, 12:29:51 am »

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
cursor control?
« Reply #2 on: July 21, 2004, 05:27:37 pm »
how can i remap the keyboard to get the numlock status?
tried with /etc/X11/kb/corgi.xmodmap but no luck
is there any other way to get the keyboard-mouse to work?

Thanks Denis

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
cursor control?
« Reply #3 on: July 22, 2004, 03:02:06 am »
to use this functionality you need the xkb extension.
This was disable in a previous version of the X rom
to enable it:
* edit the file /etc/X11/xdm/Xservers
* change the line
:0 0 local /usr/X11R6/bin/X -nolisten tcp -kbd
to
:0 0 local /usr/X11R6/bin/X -nolisten tcp +kbd +accessx
* restart X (exit the wm or reboot)

i don't remember if the +accesx is needed for mouse keys.

you then need to map a key to Pointer_EnableKeys
when this key will toggle the mouse emulation keys on or of.

if think these are the symbol you can use for the mouse key:

XK_Pointer_Left               
XK_Pointer_Right            
XK_Pointer_Up               
XK_Pointer_Down               
XK_Pointer_UpLeft            
XK_Pointer_UpRight            
XK_Pointer_DownLeft            
XK_Pointer_DownRight            
XK_Pointer_Button_Dflt            
XK_Pointer_Button1            
XK_Pointer_Button2            
XK_Pointer_Button3            
XK_Pointer_Button4            
XK_Pointer_Button5            
XK_Pointer_DblClick_Dflt         
XK_Pointer_DblClick1            
XK_Pointer_DblClick2            
XK_Pointer_DblClick3            
XK_Pointer_DblClick4            
XK_Pointer_DblClick5            
XK_Pointer_Drag_Dflt            
XK_Pointer_Drag1            
XK_Pointer_Drag2            
XK_Pointer_Drag3            
XK_Pointer_Drag4            
XK_Pointer_Drag5

When I try the mouse key acceleration was not working, so the mouse mvt was always slow.

Unfortunately I don't have time to play again with this right now, but it gives you some place to start ;-) and good luck the documentation about xkb is well...


Another solution is to use  URL=http://xkeymouse.sourceforge.net/]xkeymouse[/URL]
which was included with the previous version so might might find it compiled for the Z
SLC-860 cacko / senao wifi

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
cursor control?
« Reply #4 on: July 22, 2004, 04:49:15 am »
hmm, i'm now thinking that xdm might not be used anymore so
you may have to change the startx script or something instead....
SLC-860 cacko / senao wifi

nianderson

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
cursor control?
« Reply #5 on: July 22, 2004, 08:50:12 am »
i compiled xkeymouse and it runs on the z ... just dunno how to map the keys yet  if ya want a copy i can post it somewhere prolly. Havent made an ipk or anything just the bin file.

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
cursor control?
« Reply #6 on: July 24, 2004, 12:04:39 pm »
Oh yes,please send me a version
my adress: mail AT cavid DOT de

Thank you!

leskimo

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
cursor control?
« Reply #7 on: October 21, 2004, 02:30:04 am »
Hello,
I want xkeymouse too!

(or is there a better solution? this thread seems quite old)
SL-C1000, pdaXrom beta3
Buffalo WiFi, Corega LAN, Socket Bluetooth

leskimo

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
cursor control?
« Reply #8 on: October 23, 2004, 01:03:48 pm »
Ok I managed to compile xkeymouse myself. The original mouse-click function caused the program to freeze but I did some simple modifications and now it seems to work...
SL-C1000, pdaXrom beta3
Buffalo WiFi, Corega LAN, Socket Bluetooth

deniscallies

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://
cursor control?
« Reply #9 on: October 24, 2004, 12:12:48 pm »
Hello,

can you please give us a link for downloading?

Thank you,

Denis

leskimo

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
cursor control?
« Reply #10 on: October 24, 2004, 01:43:15 pm »
The binary is available here:

http://www.fo-ji.com/z/

xkmrc should be renamed to .xkmrc..


Current config uses Alt + Arrow keys to move cursor, and Menu key for mouse-click

It would be easier to use if there was some kind of mouse acceleration I think... And the keyboard delay is irritating
SL-C1000, pdaXrom beta3
Buffalo WiFi, Corega LAN, Socket Bluetooth