Updated Input Options (markdown)

Jannik Vogel 2015-07-27 21:25:14 +02:00
parent 80e6da3abb
commit cfb0d88975
1 changed files with 11 additions and 3 deletions

@ -20,6 +20,8 @@ The ports which can be used in XQEMU are:
The XID is usually connected to Port 2 of the XID-hub.
So if you have a hub for Player 1 at `bus=usb-bus.0,port=3`, your gamepad-device would connect to `bus=usb-bus.0,port=3.2`.
To connect multiple gamepads you can simply specify multiple `-device`.
## Emulated XID
There is XID emulation in XQEMU which emulates a very basic Duke Xbox Controller [VID: 0x045e, PID: 0x0202].
@ -45,7 +47,9 @@ 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.
**Example:**
```-usb -device usb-hub,bus=usb-bus.0,port=3 -device usb-xbox-gamepad,bus=usb-bus.0,port=3.2```
```
-usb -device usb-hub,bus=usb-bus.0,port=3 -device usb-xbox-gamepad,bus=usb-bus.0,port=3.2
```
## USB Forwarding
@ -77,14 +81,18 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0289", GROUP="use
To forward the entire hub of the controller we simply have to forward the hub to the emulated xbox.
**Example:**
```-usb -device usb-host,bus=usb-bus.0,port=3,vendorid=0x45e,productid=0x288```
```
-usb -device usb-host,bus=usb-bus.0,port=3,vendorid=0x45e,productid=0x288
```
### Gamepad-Forwarding
For Gamepad forwarding we create a virtual hub using QEMU and connect the XID gamepad device to port 2 of the emulated hub.
**Example:**
```-usb -device usb-hub,bus=usb-bus.0,port=3 -device usb-host,vendorid=0x45e,productid=0x289,bus=usb-bus.0,port=3.2```
```
-usb -device usb-hub,bus=usb-bus.0,port=3 -device usb-host,vendorid=0x45e,productid=0x289,bus=usb-bus.0,port=3.2
```
# Contribute