thearst3rd / livesplitone-global-hotkeys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global Hotkeys for LiveSplit One

This is a WIP python script to enable global hotkeys with LiveSplit One. It uses pynput which enables cross-platform reading of global keypresses.

Requirements

If you have python installed, you can install the dependancies with following command:

pip install pynput websockets

Usage

  1. Ensure the requirements above are installed
  2. 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.
  3. Run python ls1-hotkeys.py
  4. In LiveSplit One, click "Connect to Server" and enter ws://localhost:5678
  5. Pressing hotkeys should now trigger events in LiveSplit One!

About


Languages

Language:Python 100.0%