276°
Posted 20 hours ago

Mcbazel PlayStation 2 Controller to USB Adapter for PC or Playstation 3 Converter Cable for Sony DualShock PS2 PS3 Controllers (NOT compatible with Dancing Mat Guitar Hero)

£9.9£99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

If you like you can skip this step. This is just an explanation for the previous outputs. The output 8 bytes array you saw is formatted according to the above fig.1 You can learn much more about this and also how the modifier keys status byte is written from this wiki about USB-HID. Basically what my code does is each time a new key is pressed (PS/2 protocol refers to this as 'make') it cycle through the last 6 bytes of the array that are used for normal key-presses, and fill in the first empty byte it finds with the relevant 'HID scancode'(Shown as in fig.2 Also you can find a complete list from the attached PDF) for the received 'PS/2 scancode'. And finally when the relevant key is released(PS/2 protocol refers to this as 'break') the code will cycle through the current byte array and clear only the relevant byte.

Convert a Playstation 2 Controller to PC USB - Neowin

After installation of a driver (based on visual recognition of the adapter) I made the error of installing the wrong driver, in an attempt to get the axis to show up as button presses allowing simultaneous left/right presses. Follow this guide from arduino.cc about 'Updating the Atmega8U2 and 16U2 on an Uno or Mega2560 using DFU' but rather than using ' Arduino-usbserial-uno.hex' use the attched ' Arduino-keyboard-0.3.hex ' Before updating the Atmega8U2 or 16U2(UNO Rev3) to identify our Arduino as a USB keyboard we should make sure all the conversion stuff is working correctly and the final final sketch is uploaded or otherwise it will be a major pain to keep over-writing the firmware again and again between the Original and USB-keyboard hex files just so you could upload the correct sketch. This becomes especially true if you don't have any external programmer like a USBasp or another Arduino to use as a ISP. So here we will upload a 'DEBUG' version of the final sketch with a human readable output(through the serial monitor) to test things out. For each new multiple modifier key-press you should get a newline with different values for 'xx'. Finally when you release all modifier keys 'xx' should become 00. You seem pretty adept, especially if you want to write your own HID driver. But here are some thoughts.This "make" and "break" scancode system and "Code" which is the isolated(c & 0xFF) scancode of either the key-press or key-release plays an important part in PS/2 to USB conversion and I recommend you study the other 2 examples that comes with library to get a better understanding if you are planing on improving or changing(remapping keys to different layouts) the final sketch. Also you can get a complete list of PS/2 scancodes from the library by opening either 'PS2KeyAdvanced.h' or 'PS2KeyCode.h' files from '\Documents\Arduino\libraries\PS2KeyAdvanced\src\' and if you press new key d with value 'nn' without releasing key a or key b your output should change to, If you're using a Linux distribution like Ubuntu, the EyeToy should be supported out of the box. Simply plug it into a free USB port and it should be ready to use. This may differ from distribution to distribution, but with a little searching, you should be able to get it working.

ps2 - Do PlayStation 2 controllers support USB connections

If you ran into a driver error, go to windows device manager and select to search for the unknown driver inside the installation directory of FLIP '\Program Files (x86)\Atmel\' All of these uses for it are things that I use it for. Besides my Super Joy Box 5 Pro, I also have an older Super Dual Box. I bought it sometime around the beginning of 2004 to use my two RedOctane Ignition pads on my PC for StepMania. It works fine on my older computer, but when I got my new computer last year I found that there were some problems with it on my new computer. The specific problem is in that to use the DDR-style pads, you need to input a code to change the button assignments internally in the adaptor, but on my new computer the adaptor would sometimes reset itself and make it so the code needed to be put in again; this would happen while playing and was very annoying. Ideally I would create my own driver after sniffing with WireShark, but at the moment I'm unable to sniff, as I can't easily see the data coming in. Did you ever wanted use your old PS/2 Keyboard with your laptop or new desktop PC and found out that they don't have PS/2 ports anymore? And then rather than go buy a cheap PS/2 to USB Adapter like a normal person would do, wanted to use your Arduino as a PS/2 to USB Adapter. Then you have come to the right place :)Edit 2: More info found on the electrical interface needed here. It seems its a not that easy but doable task to create your interface with the use of a cheap microcontroller. The connection between the microcontroller and the ps/2 keyboard seems straight forward enough but then from the microcontroller to USB is another story... If the device is "hidden" that means Windows thinks it is not connected. Either unplug and replug the device, reboot, or forget about it because it probably isn't the same device. The device strings are different and that comes directly from the device and isn't likely to change. A: Yes. The two analog buttons (I and II), the left trigger and the twist axis are all reported as analog axis. The D-Pad functions as buttons.

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment