Skip to content

Instantly share code, notes, and snippets.

@alexrudnick
alexrudnick / cthulhu.sh
Last active Aug 18, 2020
Shell script to get a HitBox fightstick to talk work on Linux. Works for me on Ubuntu. Modified slightly from this script here: http://pastebin.com/mkbuyYdR
View cthulhu.sh
#!/bin/bash
# Polls Toodles PC/PS3 Cthulhu controller, preventing it from entering XBox 360
# mode. Run this script as root, then plug in the controller.
DEV_DIR=/dev/input/by-id
DEV_NAME=usb-Toodles_2008_HitBox_Edition_Cthulhu+-event-joystick
echo "Please connect PC/PS3 Cthulhu now."