Huge shoutout to growthmindset#4583 on discord for the basis of these tools! They did all the hard work figuring out pynput/pyautogui tie ins :)
Right now this repo expects that you have python installed on your machine.
- Install dependencies
pip install -r requirements.txt
- inputs are listened for using
pynput
and then new keys are sent usingpyautogui
(for some reason neither of us could figure out how to getpynput
to send stuff)
- Modify the key you'd like to use in your desired script.
- In
pynput
things likectrl
andspace
are called viaKey.space
(etc) but normal keyboard keys likea
andb
you can choose by just passing the string"a"
or"b"
.
- Run the script, tab to Stardew and get canceling