[Mori] wanted to use his keyboard and mouse to play his favorite games on the PS4, so he decided to modify his Dualshock4 controller to feed it custom input signals.
In the heart of this build is an STM32F407 discovery board, which is connected to a USB hub. To perform this hack, [Mori] tore open the Dualshock4 controller to find the PCB traces coming from the sticks and buttons. He then used the STM32F407 and 2 Digital to Analog Converters (DACs) to create similar signals. Unfortunately for us, [Mori] only released the schematics but not the firmware. Our guess is that he had to configure the microcontroller as a USB host, enumerate the mouse/keyboard, parse the HID reports and feed the controller the corresponding inputs.
We embedded a video of the hack in action after the break. If you own a PS4, you may also want to see how to disable the Dualshock LEDs.
Continue reading “Modifying a PS4 Dualshock4 Controller to Use a Mouse and Keyboard”
The controllers from the last generation of consoles served their purpose well. They were there for us when we wanted to experiment with an I2C bus, and they stood by when we wanted to build a quadcopter out of parts just lying around. A new generation of consoles is now upon us, and with them come new controllers. Controllers for which Arduino libraries haven’t been written yet. The horror.
Until those libraries are developed, there’s ChronusMAX, a USB dongle that allows you to use XBox One controllers on a PS4, PS4 controllers on the XBox, mice and keyboards on both systems, and both types of controllers on your PC.
The folks behind ChronusMAX put up a video demoing the XBox One controller working on the 360, PS3, and PC, with another video showing the same for the PS4 controller. As far as what we can see from the PC demos, everything on these controllers can be read, right down to the accelerometer data on the DualShock 4.
Although this is a commercial product, we’re surprised we haven’t seen a more open version by now. From the looks of it, it’s a very small device with two USB ports and a firmware upload utility. Microcontrollers with two native USB ports are usually encased in large packages, so there might be some very clever engineering in this device. Let us know when someone does a teardown of one of these.
Thanks [Josh] for sending this one in.
The new Playstation 4 Dualshock controllers are super high-tech. They have bright shiny lights on them to prove it.
But [xn0] from neograf.com had a suspicion about these new-fangled controllers. That LED light bar is awfully bright, how much power does it consume?
As it turns out, quite a bit. After dismantling one of his controllers he discovered the LEDs are connected to the main PCB with a ribbon cable — super easy to detach. He then performed some rather unscientific tests of leaving the controllers on over night. His empirical conclusion? If you leave the controller with lights on it will die within 24 hours, if you disable the lights, it will still be at approximately 66% battery capacity after the same amount of time.
Another user on the forums quickly pointed out that this test could have been as simple as using a multimeter — so he did that afterwards. The LEDs appear to draw around 40-50mA, which isn’t that much, but it is more than the controller uses while idle (30-40mA)!
We assume Sony will add a firmware option to turn these lights off in the future, but until then, if you’re really dying for an extra hour or so of gameplay, it’s a super easy modification.
3rd party console game controllers sometimes sport a “rapid-fire” button to give gamers an unfair advantage. [Connor’s] project is along the same lines, but his hack had a different goal: automate the input of GTA5 cheat codes. [Connor] admits that this is his first Arduino hack, but aside from a small hiccup, he managed to pull it off. The build connects each button on a PS3 controller via some ribbon cable to its own digital out on an Arduino Uno . After plugging in some pretty straightforward code, [Connor] can simply press one button to automate a lengthy cheat code process.
[Matt’s] hack manages to save him even more user input in this second video game hack, which automates finger clicks in an Android game. [Matt] pieced together a couple of servos plugged into a PICAXE-18M2 microcontroller, which repeats one simple action in [Matt’s] Sims Freeplay game: continuously “freshening” (flushing?) a toilet. To mimic the same capacitive response of two fingers, [Matt] built the two contact surfaces out of some anti-static foam, then grounded them out with a wire to the ground on the board.
Check out a gallery of [Connor’s] controller and a video of [Matt’s] tablet hack after the break, then check out a rapid fire controller hack that attacks an XBox360 controller.
Continue reading “Video Game Automation Hacks”
It’s not exactly a portable, but [Downing]’s PS2 advance puts all the power of a Playstation 2 in the palm of your hands, all while being more popular that the Vita.
For the audio and video, the project uses a Cross Plane, a project from a slightly unsuccessful Kickstarter [Downing] pulled the plug on last month. When the handheld is plugged in to the Cross Plane, all the audio, video, and controller wires are transferred through a pair of cables, with the possible addition of wireless transmission should [Downing] ever want to revisit this project.
In deciding on what to use for a case, [Downing] had bought a few AG cases from Polycase but found the ergonomics severely lacking. Putting two of the case backs together, he found the resulting structure was actually very comfortable, and with a few simple modifications to add some holes for acorn nuts,
It’s a great looking project that really highlights [Downing]’s talents as a console modder. He’s also thrown his hat into the Hackaday Trinket contest by engraving the Jolly Wrencher into the back of his project, which unfortunately isn’t seen in the video below.
Continue reading “Portable PS2, Courtesy of Cross Plane”
Here’s the scenario: You’ve got the rage to play som CoD (we’re more GTA fans but whatever) but the monitor you’re going to play on has no speakers. You can get a crystal clear image using HDMI, but getting sound is a different matter. What’s the fix? Crack open your PS3 and solder on some audio connectors.
[Paul] knew there is a special cable that breaks out analog audio. Like original Xbox hacking of ages past, there is now plenty of information online about the internals of these machines. He grabbed a copy of the A/V pinout and found the analog audio pins. After soldering on this pair of RCA cables he
cut savaged a hole in the case and put the console back together. The machine he’s working with is a salvaged unit with no Blu-ray drive — he links to his past posts on the repair process. You may be thinking what good is it without an optical drive? Remember, this is the beginning of the Internet age… everything is downloadable.
[Kevin] just finished a project for someone who lives in his apartment complex. This resident loves the game Pop ‘n Music – a Guitar Hero sort of game for the original Playstation and PS2 that uses nine colored buttons instead of five buttons along a fingerboard. His original idea was to wire up a few arcade buttons to a Playstation controller but this plan fell through, forcing [Kevin] to figure out the PSX bus all by his lonesome.
The initial code began with simply bit-banging the PSX controller interface with an AVR. This had a few problems, namely speed, forcing [Kevin] to move onto assembly programming to squeeze every last bit of performance out of a microcontroller.
The assembly route failed as well, dropping some transactions Looking at the problem again, [Kevin] realized the PSX controller bus looked a little like an SPI bus. There were a few changes required – reversing the order of the bits, and using the MISO line to drive a transistor – but this method worked almost perfectly on the first try.
Now, [Kevin]’s building mate has a custom Playstation controller for his favorite game. Of course all the code is up on github for all your PSX controller emulation needs, but be sure to check out this completely unrelated Pop ‘N Music video from someone who desperately needs a piano.