This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MouseWheelie by Phil | |
# This script is designed to be able to use the mouse wheel in Space Engineers without any mods on Windows. (of any other Game that relies on Key presses from 0-9) | |
# This is my first time using Python so sorry if it looks messy. It was designed to be functional. | |
# Dependencies needed: pynput, pygetwindow | |
# DISCLAIMER: | |
# This solution isn't perfect and it's recommended to rest around in a creative world first, before using in any production. | |
# Known bugs that cannot be solved with this script/my abilities to python: | |
# - Scrolling in your ship WILL trigger the actions mapped to the hotbar (thi s only is a problem, when you are using the the script without whitelisting keys) | |
# - Blocks that have multiple options will select a different block, when scrolled (as the game is slightly faster, then the script can switch) |