Y-D002-239 controller: Difference between revisions

From JookWiki
(→‎Gallery: Add better captions)
(Hardware category)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Y-D002-239 front.jpg|thumb]]
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 ==
Open an image and read its summary section for a more in depth visual description.
<gallery>
<gallery>
File:Y-D002-239 front.jpg|alt=Front of device photo|Front of device showing buttons
File:Y-D002-239 front.jpg|alt=Front of device photo|Front of device showing buttons
Line 10: Line 25:
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]]

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.

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