Program by Adam Schon. ©2024.
Contact: https://adamschon.vercel.app
Allowed for modification or redistribution for personal/educational use only and credit must be given.
Libraries used: Pyautogui, Flask, Web MIDI API
Languages used: Javascript, HTML, CSS, Python
- This program was designed specifically to play Valorant on a piano using only the piano keys, pedals and buttons binded to keys on a gaming mouse.
- Computer keys correspond with keys and pedals in a layout optimised for Valorant.
- Computer keys (X, TAB, G, C, M) were binded to the additional side buttons on the Logitech G503 Hero mouse.
- There is no run file for this program, so run it using a code editor or terminal/command prompt window as explained below:
Ensure that the latest version of Python 3
is installed and a MIDI piano is connected via a MIDI to USB adapter.
1. Download all files from GitHub in ZIP file format
2. Unzip the downloaded file
3. Open a Terminal
window (Mac) or Command Prompt
window (Windows)
4. Navigate to the appropriate folder using the directory command, cd
5. Type py server.py
into the terminal window and press ENTER
6. Visit http://localhost:5000
in a web browser to view the webpage input interface
7. (OPTIONAL) All incoming and outgoing key presses are logged in the webpage's console. To view this log, open the webpage console using the appropriate shortcut:
MAC shortcut: COMMAND+OPTION+J
WINDOWS shortcut: CONTROL+SHIFT+J
Ensure that the latest version of Python 3
is installed and a MIDI piano is connected via a MIDI to USB adapter.
1. Download all files from GitHub in ZIP file format
2. Unzip the downloaded file
3. Open the unzipped folder in Visual Studio Code
4. Open a new Terminal within Visual Studio Code
5. Type py server.py
into the terminal window and press ENTER
6. Visit http://localhost:5000
in a web browser to view the webpage input interface
7. (OPTIONAL) All incoming and outgoing key presses are logged in the webpage's console. To view this log, open the webpage console using the appropriate shortcut:
MAC shortcut: COMMAND+OPTION+J
WINDOWS shortcut: CONTROL+SHIFT+J