This is a WIP python script to enable global hotkeys with LiveSplit One. It uses pynput which enables cross-platform reading of global keypresses.
- Python 3
If you have python installed, you can install the dependancies with following command:
pip install pynput websockets
- Ensure the requirements above are installed
- In
ls1-hotkeys.py
, edit the hotkeys at the top of the script to use the hotkeys you would like. See the documentation for what keys are available. - Run
python ls1-hotkeys.py
- In LiveSplit One, click "Connect to Server" and enter
ws://localhost:5678
- Pressing hotkeys should now trigger events in LiveSplit One!
This code is licenced under CC0. Feel free to use it, no attribution required.