OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: nianderson on July 17, 2004, 05:38:29 pm

Title: cursor control?
Post by: nianderson on July 17, 2004, 05:38:29 pm
is there any way to move the curser without the stylus?
Title: cursor control?
Post by: nianderson on July 19, 2004, 12:29:51 am
well its built into X
http://www.topology.org/linux/xcursor.html (http://www.topology.org/linux/xcursor.html)
Title: cursor control?
Post by: deniscallies 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
Title: cursor control?
Post by: pgas 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
Title: cursor control?
Post by: pgas 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....
Title: cursor control?
Post by: nianderson 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.
Title: cursor control?
Post by: deniscallies on July 24, 2004, 12:04:39 pm
Oh yes,please send me a version
my adress: mail AT cavid DOT de

Thank you!
Title: cursor control?
Post by: leskimo on October 21, 2004, 02:30:04 am
Hello,
I want xkeymouse too!

(or is there a better solution? this thread seems quite old)
Title: cursor control?
Post by: leskimo 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...
Title: cursor control?
Post by: deniscallies on October 24, 2004, 12:12:48 pm
Hello,

can you please give us a link for downloading?

Thank you,

Denis
Title: cursor control?
Post by: leskimo on October 24, 2004, 01:43:15 pm
The binary is available here:

http://www.fo-ji.com/z/ (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