Thread: Can You Capture Key Presses?
-
June 4th, 2020, 10:30 #1
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
Can You Capture Key Presses?
Greetings,
So I have controls using the onWheel event handler, however I was wondering if I could also capture the arrow keys to do the same (up/down).Thanks In Advance,
D
-
June 4th, 2020, 11:11 #2
-
June 4th, 2020, 11:13 #3
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
-
June 4th, 2020, 11:23 #4
-
June 4th, 2020, 11:26 #5
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
Okay so it is more simple than I hoped. You can just capture the state of the modifier keys, but cannot check the key pressed in combination with it.
At least I could have said if Shift pressed and Arrow pressed then do something.
The scrollwheel functionality is clunky with my mouse which is overly sensitive in FGU.
As always, thank you.Thanks In Advance,
D
-
June 4th, 2020, 16:02 #6
See https://www.fantasygrounds.com/refdo...rol.xcp#onChar.
You can use them in stringcontrols and fields."Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
June 5th, 2020, 02:19 #7
- Join Date
- Mar 2020
- Location
- Sydney, Australia
- Posts
- 247
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks