update joystick driver to API 0.5 and do some cleanup

This commit is contained in:
marschap
2006-04-09 11:05:52 +00:00
parent 2dcde3e4f2
commit c130d15677
4 changed files with 170 additions and 104 deletions
+8 -5
View File
@@ -452,11 +452,15 @@ Size=16x2
# Select the input device to use [default: /dev/js0]
Device=/dev/js0
# Modify the axis mapa [default: EFGHIJKLMNOPQRST]
#AxisMap=EFGHIJKLMNOPQRST
# set the axis map
Map_Axis1- = Left
Map_Axis1+ = Right
Map_Axis2- = Up
Map_Axis2+ = Down
# Modify the button map [default: BDACEFGHIJKLMNOP]
#ButtonMap=BDACEFGHIJKLMNOP
# set the button map
Map_Button1 = Enter
Map_Button2 = Escape
@@ -486,7 +490,6 @@ Device=/dev/ttyS1
# Keyname Function
# Normal context Menu context
# ------- -------------- ------------
#
# PauseKey Pause/Continue Enter/select
# BackKey Back(Go to previous screen) Up/Left
# ForwardKey Forward(Go to next screen) Down/Right