You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NESTang 0.6 now supports USB gamepads, allowing you to use your existing controllers without the need to purchase new ones.
5
+
6
+
<imgsrc="images/usb_gamepad2.jpg"width=400>
7
+
<imgsrc="images/usb_gamepad1.jpg"width=400>
8
+
9
+
To enable this functionality, you will need the following,
10
+
* Two USB-A Female to 2.54mm adapters, which can be found [here](https://www.aliexpress.us/item/2255800203914149.html?spm=a2g0o.productlist.main.17.6e617e229i3qAm&algo_pvid=89ee64ce-a2c8-41f6-9e3b-45e8396569fd&algo_exp_id=89ee64ce-a2c8-41f6-9e3b-45e8396569fd-8&pdp_npi=4%40dis%21USD%210.28%210.25%21%21%210.28%21%21%402132a25516924371147167093ec531%2110000001592482118%21sea%21US%214484896846%21A&curPageLogUid=dAeFgl6FWDAf).
11
+
* Four 15K ohm resistors as USB pulldown resistor.
12
+
13
+
Then wire things up correctly, refer to the image above and the [Tang Nano 20K pinout](https://wiki.sipeed.com/hardware/en/tang/tang-nano-20k/nano-20k.html)). Follow these steps,
14
+
* Connect USB VBUS to the 5V pin of Tang Nano 20K, and USB GND to the Tang GND.
15
+
* For controller 1, connect D+ to pin 42 and D- to pin 41.
16
+
* For controller 2, connect D+ to pin 56 and D- to pin 54.
17
+
* Connect four 15K ohm resistors from D-/D+ to GND.
18
+
19
+
Please note that using the resistors is necessary for stability.
20
+
21
+
That's all you need to do.
22
+
23
+
**Limitation**: Note that only USB low-speed gamepads are currently supported. So controllers like PS5 or Xbox 360 pads are not compatible.
0 commit comments