More documentation

This commit is contained in:
Ingo Ruhnke 2009-01-14 06:54:38 +01:00
parent 1e6a3cc6ff
commit 5dd7acd752
2 changed files with 14 additions and 11 deletions

14
README
View file

@ -424,6 +424,20 @@ Your right analog stick will act as trottle control, the trigger as
rudder.
Keyboard controlled games:
-------------------------
The following configuration works for games that are played with
keyboard, like Flash games or games that don't support a joystick, you
have to adjust the keybindings to fit the game:
% ./xboxdrv \
--dpad-as-button \
--ui-buttonmap a=XK_a,b=XK_b,x=XK_x,y=XK_y \
--ui-buttonmap dl=XK_Left,dr=XK_Right,du=XK_Up,dd=XK_Down \
--deadzone 16000
Sauerbraten
-----------

11
TODO
View file

@ -16,17 +16,6 @@ Example config for flash game:
* add a way to not create a joystick device
* add translation for xmodmap
XKeysymToString
XStringToKeysym
NoSymbol
XGetKeyboardMapping (dpy, min_keycode,
(max_keycode - min_keycode + 1),
&keysyms_per_keycode);
XDisplayKeycodes (dpy, &min_keycode, &max_keycode);
experimental/xkeys.h
* figure out what jscal does and if it can break stuff
1) jscal uses the joystick interface, not the event interface