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]. 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: The input can't be configured at the moment but the following buttons are mapped:
| Xbox Button | PC Keyboard | | Xbox | PC Keyboard |
| ----------: | :-------------- | | ----------: | :-------------- |
| A | Z | | A | S |
| B | X | | B | D |
| X | A | | X | W |
| Y | S | | Y | E |
| White | X |
| Black | C |
| Start | Backspace | | Start | Backspace |
| Back | Return | | Back | Return |
| DPad-Up | Arrow-Up-Key | | 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-Left | Arrow-Left-Key |
| DPad-Right | Arrow-Right-Key | | DPad-Right | Arrow-Right-Key |
| Left Trigger | Q | | Left Trigger | Q |
| Right Trigger | W | | Right Trigger | R |
| Left-Thumbstick-Up | U | | Left-Thumbstick-Up | T |
| Left-Thumbstick-Down | J | | Left-Thumbstick-Down | G |
| Left-Thumbstick-Left | H | | Left-Thumbstick-Left | F |
| Left-Thumbstick-Right | K | | 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 yet.
There is no force feedback indicator either.
To recreate the internal XID hub we use the existing QEMU "usb-hub" device. 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. The actual XID emulation is provided by the "xbox-gamepad" device.