# ArduinoUnoSDVXCon by 5argon

# Sound Voltex Controller Script for Arduino Uno

This is for building your own physical controller for the game called K-Shoot Mania with an Arduino Uno as a USB interface.

Previous alternatives are connecting buttons to disassembled Joystick circuit, or using an Arduino Leonardo. Arduino Uno cannot interface as a keyboard as easily as Leonardo. Only Leonardo, Micro, and Due can use the built-in keyboard functions.

## Features

- Not a joystick, but emulates computer keyboard via USB. (HID interface standard) sdksldksldkdlksdlkdlskdlsddsskdkdkkkkklslskdlsdqooooppppoowowowwoqqqqqpqwwwwwqppqpqpqowowoow
- Supports LED response on all 4 BT + 2 FX + START button.
- Supports encoders with 2 signals (quadrature encoded), e.g. Copal RES20D50-201-1
- Change Uno's input pin easily in the code to suit your project.
- Adjust corresponding keys in the code.
- Adjust sensitivity of knobs and buttons in the code.

## Requires

- A firmware flash hack that will make your Arduino HID compatible but loses ability to program. (Need to flash the firmware back to reprogram) (Cannot brick your Uno.)

Please wait for more information after I tested the code more. But if you want to go ahead here are rough steps :

- Make a controller.
- Look at the code's top part and config things according to your connections to Uno's pin. Please read the comments. (Important)
- Upload the code to your Uno with the Arduino IDE.
- Do the firmware flash hack.
- Reconnect and done!