Posted: Thu Aug 03, 2023 5:04 am Post subject: Let user set their own hotkeys
I'm trying to implement a button in my form that, after being pressed, waits for the user to press any key. This key is then stored so it can be used to trigger some parts of a script - for example I'd like this to let the user set their own freecam up/down/forward/backward etc. control keys.
The only way I can think of is a timer with a long list of "if isKeyPressed(VK_blah) then hotkey = VK_blah" for every single possible key but that seems like it'd be VERY wrong, lol. Any good ideas?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum