Updated keyboard input

Jannik Vogel 2015-09-06 02:32:13 +02:00
parent 706a1d230f
commit 84e81fb483
1 changed files with 19 additions and 12 deletions

@ -29,12 +29,14 @@ To find out more about QEMU USB emulation you can read [the QEMU User Documentat
There is XID emulation in XQEMU which emulates a very basic Duke Xbox Controller [VID: 0x045e, PID: 0x0202].
The input can't be configured at the moment but the following buttons are mapped:
| Xbox Button | PC Keyboard |
| Xbox | PC Keyboard |
| ----------: | :-------------- |
| A | Z |
| B | X |
| X | A |
| Y | S |
| A | S |
| B | D |
| X | W |
| Y | E |
| White | X |
| Black | C |
| Start | Backspace |
| Back | Return |
| DPad-Up | Arrow-Up-Key |
@ -42,14 +44,19 @@ The input can't be configured at the moment but the following buttons are mapped
| DPad-Left | Arrow-Left-Key |
| DPad-Right | Arrow-Right-Key |
| Left Trigger | Q |
| Right Trigger | W |
| Left-Thumbstick-Up | U |
| Left-Thumbstick-Down | J |
| Left-Thumbstick-Left | H |
| Left-Thumbstick-Right | K |
| Right Trigger | R |
| Left-Thumbstick-Up | T |
| Left-Thumbstick-Down | G |
| Left-Thumbstick-Left | F |
| Left-Thumbstick-Right | H |
| Left-Thumbstick-Press | V |
| Right-Thumbstick-Up | I |
| Right-Thumbstick-Down | K |
| Right-Thumbstick-Left | J |
| Right-Thumbstick-Right | L |
| Right-Thumbstick-Press | M |
No other buttons or analog controls are currently mapped!
There is no force feedback indicator either.
There is no force feedback indicator yet.
To recreate the internal XID hub we use the existing QEMU "usb-hub" device.
The actual XID emulation is provided by the "xbox-gamepad" device.