Commit 845f101b authored by Jan Holthuis's avatar Jan Holthuis
Browse files

linux-dist: Add DPad support for xpad kernel driver (XBox 360)

parent 5fe98037
......@@ -198,6 +198,10 @@ static int evdev_fd = -1;
case BTN_X: keys[ 8] = ie.value; break;
case BTN_SELECT: keys[ 9] = ie.value; break;
case BTN_START: keys[12] = ie.value; break;
case BTN_TRIGGER_HAPPY1: keys[3] = ie.value; break;
case BTN_TRIGGER_HAPPY2: keys[4] = ie.value; break;
case BTN_TRIGGER_HAPPY3: keys[1] = ie.value; break;
case BTN_TRIGGER_HAPPY4: keys[2] = ie.value; break;
#if defined(TARGET_GCW0)
case KEY_Y: keys[ 5] = ie.value; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment