[SOLVED] Using shift + mouse roll
Posted: Fri Nov 25, 2022 9:14 pm
Hi,
I am trying to make a screen detect a mousewheel action to do something, but only when 'shift' is pressed simultaneously.
I was under the impression from reading the documentation here and here that one could use a combination of mouse and keyboard inputs, likeso:
But instead, it throws a nasty error:
Is there a way to detect shift+mousewheel within a screen? Thank you guys for your help...
I am trying to make a screen detect a mousewheel action to do something, but only when 'shift' is pressed simultaneously.
I was under the impression from reading the documentation here and here that one could use a combination of mouse and keyboard inputs, likeso:
Code: Select all
key ["shift_K_UP", "shift_mousedown_4"] action Return("up")
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/BKmain.rpy", line 1760, in script
$ r = ui.interact()
File "game/BKmain.rpy", line 1760, in <module>
$ r = ui.interact()
Exception: Invalid key specifier mousedown_4