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