Y-D002-239 controller: Difference between revisions
(Add gallery) |
(Hardware category) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[ | The Y-D002-239 controller is a fairly cheap and simple wireless controller mimicking the style of a NES controller. | ||
It's marketed under various names, but this page's name is the label printed on the back of the controller and most likely the name people will search for it by online. | |||
== Technical specifications == | |||
There's really not much to the controller, but here's some notes: | |||
* The USB dongle registers as ID 0079:0126 "DragonRise Inc. Controller" | |||
* Up and down are evdev ABS_Y, values 0 (down), 128 (neutral), 255 (up) | |||
* Left and right are evdev ABS_X, values 0 (left), 128 (neutral), 255 (up) | |||
* Select is evdev scan code 0x90009 EV_KEY BTN_TL2 | |||
* Start is evdev scan code 0x9000A EV_KEY BTN_TR2 | |||
* B button is evdev scan code 0x90003 EV_KEY BTN_C | |||
* A button is evdev scan code 0x90002 EV_KEY BTN_EAST | |||
Information on the vendor can be found in [https://fccid.io/2AQ4CY-D002-239 FCC filing 2AQ4CY-D002-239]. | |||
== Gallery == | == Gallery == | ||
Open an image and read its summary section for a more in depth visual description. | |||
<gallery> | <gallery> | ||
File:Y-D002-239 front.jpg|Front of device | File:Y-D002-239 front.jpg|alt=Front of device photo|Front of device showing buttons | ||
File:Y-D002-239 top.jpg|Top of device | File:Y-D002-239 top.jpg|alt=Top of device photo|Top of device with USB charging port | ||
File:Y-D002-239 back.jpg|Back of device | File:Y-D002-239 back.jpg|alt=Back of device photo|Back of device with barcode and screw holes | ||
File:Y-D002-239 battery.jpg|Front of device PCB | File:Y-D002-239 battery.jpg|alt=Front of device PCB photo|Front of device PCB containing battery | ||
File:Y-D002-239 pcb.jpg|Back of device PCB | File:Y-D002-239 pcb.jpg|alt=Back of device PCB photo|Back of device PCB containing chips and button pads | ||
</gallery> | </gallery> | ||
== xboxdrv config == | |||
Most games and emulators expect an Xbox 360 controller. xboxdrv can be used to map the keys to a new device properly. | |||
Here's a config that should work, with the invocation command as a comment at the top: | |||
# xboxdrv -c xboxdrv.cfg | |||
[xboxdrv] | |||
evdev=/dev/input/by-id/usb-0079_Controller-event-joystick | |||
mimic-xpad=true | |||
silent=true | |||
[evdev-absmap] | |||
ABS_X=X1 | |||
ABS_Y=Y1 | |||
[evdev-keymap] | |||
BTN_C=b | |||
BTN_EAST=a | |||
BTN_TL2=select | |||
BTN_TR2=start | |||
I use the controller upside down, so if that interests you then try this configuration: | |||
# xboxdrv -c xboxdrv.cfg | |||
[xboxdrv] | |||
evdev=/dev/input/by-id/usb-0079_Controller-event-joystick | |||
mimic-xpad=true | |||
silent=true | |||
[evdev-absmap] | |||
ABS_X=X1 | |||
ABS_Y=Y1 | |||
[evdev-keymap] | |||
BTN_C=b | |||
BTN_EAST=a | |||
BTN_TL2=select | |||
BTN_TR2=start | |||
[axismap] | |||
-X1 = X1 | |||
-Y1 = Y1 | |||
[[Category:Hardware]] |
Latest revision as of 09:14, 1 March 2022
The Y-D002-239 controller is a fairly cheap and simple wireless controller mimicking the style of a NES controller.
It's marketed under various names, but this page's name is the label printed on the back of the controller and most likely the name people will search for it by online.
Technical specifications[edit | edit source]
There's really not much to the controller, but here's some notes:
- The USB dongle registers as ID 0079:0126 "DragonRise Inc. Controller"
- Up and down are evdev ABS_Y, values 0 (down), 128 (neutral), 255 (up)
- Left and right are evdev ABS_X, values 0 (left), 128 (neutral), 255 (up)
- Select is evdev scan code 0x90009 EV_KEY BTN_TL2
- Start is evdev scan code 0x9000A EV_KEY BTN_TR2
- B button is evdev scan code 0x90003 EV_KEY BTN_C
- A button is evdev scan code 0x90002 EV_KEY BTN_EAST
Information on the vendor can be found in FCC filing 2AQ4CY-D002-239.
Gallery[edit | edit source]
Open an image and read its summary section for a more in depth visual description.
-
Front of device showing buttons
-
Top of device with USB charging port
-
Back of device with barcode and screw holes
-
Front of device PCB containing battery
-
Back of device PCB containing chips and button pads
xboxdrv config[edit | edit source]
Most games and emulators expect an Xbox 360 controller. xboxdrv can be used to map the keys to a new device properly.
Here's a config that should work, with the invocation command as a comment at the top:
# xboxdrv -c xboxdrv.cfg [xboxdrv] evdev=/dev/input/by-id/usb-0079_Controller-event-joystick mimic-xpad=true silent=true [evdev-absmap] ABS_X=X1 ABS_Y=Y1 [evdev-keymap] BTN_C=b BTN_EAST=a BTN_TL2=select BTN_TR2=start
I use the controller upside down, so if that interests you then try this configuration:
# xboxdrv -c xboxdrv.cfg [xboxdrv] evdev=/dev/input/by-id/usb-0079_Controller-event-joystick mimic-xpad=true silent=true [evdev-absmap] ABS_X=X1 ABS_Y=Y1 [evdev-keymap] BTN_C=b BTN_EAST=a BTN_TL2=select BTN_TR2=start [axismap] -X1 = X1 -Y1 = Y1