Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| The Y-D002-239 controller is a fairly cheap and simple wireless controller mimicking the style of a NES controller.
| | summary |
| | |
| 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 == |
Line 25: |
Line 10: |
| File:Y-D002-239 pcb.jpg|alt=Back of device PCB photo|Back of device PCB containing chips and button pads | | 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]]
| |