Posts

Showing posts with the label Xbox

How to use an Xbox 360 wired controller with a Raspberry PI (and/or how to compile a kernel module)

Background So I asked the question, "How can I get my Raspberry PI to recognize an Xbox 360 wired controller?" The answer is: sudo rpi-update The xpad Linux kernel module is part of 3.12 and above from what I can tell (I haven't really done any research on this). What really annoyed me was the LED on the controller kept blinking. Apparently there is a compiler flag that xpad.c recognizes that isn't part of the Raspbian xpad (or normal xpad driver). How to compile the xpad kernel module for a Rapsberry PI Make sure you are up to date with the kernel: sudo rpi-update Download Source Code This guide was developed off of 3.12.x. Once this is complete and you have rebooted, login, and we can just start from the home directory by downloading the kernel source: mkdir xpad wget https://github.com/raspberrypi/linux/tarball/rpi-3.12.y tar xvf rpi-3.12.y cd raspberrypi-linux* zcat /proc/config.gz >.config make oldconfig make modules_pre...

BioShock Mac Southpaw Controls

I recently picked up  BioShock  at a  2nd & Charles  used game store for $6 for the  Xbox 360  and realized why I never played it besides the demo. The game has no controller customization and it does not respect the Xbox 360 console settings for swapping the analog sticks. The only option to play southpaw would be to modify my controller or pay someone to do it. After being frustrated with my inability to move with my left thumb and look with my right thumb, I decided to pick up BioShock for the Mac (I almost didn't because I was frustrated as well that the publisher is not on Steam). After installation, I noticed it can support the Xbox 360 controller through a 3rd party driver . Just like the Xbox 360 version, there were no southpaw settings in the game on the Mac. Digging around, I found a couple of ini files and one has controller settings in it! To change the controller settings to southpaw for BioShock on the mac, do the following: After f...