| View previous topic :: View next topic |
| Author |
Message |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Tue Apr 19, 2016 5:27 pm Post subject: CE Request |
|
|
I'd like to be able to set hotkeys for input devices (i.e. not just keyboard, but gaming controller and mouse). This would save me a lot of time and make writing some scripts a whole lot easier.
Thanks.
|
|
| Back to top |
|
 |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 402
|
Posted: Thu Jun 09, 2016 7:14 am Post subject: |
|
|
| I second this!
|
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Thu Jun 09, 2016 1:34 pm Post subject: |
|
|
http://forum.cheatengine.org/viewtopic.php?p=5446463&highlight=#5446463
necro-ed
other than mouse button 4 & 5 and maybe the middle, wouldn't having other mouse buttons as hotkeys be glitching out when using CE? i.e. click anywhere and it toggles the code accidentally
on another note, since xinput is already added into the source, all that's left to do is updating the functions in hotkeyhandler.pas to accept a flag whether hotkey is a gamepad hotkey or keyboard/mouse hotkey and then to check for the keys accordingly. and then add the gamepad buttons to the hotkey form.
or a lua hotkey handler+GUI just for gamepad is possible too especially since mgr.inz already made the controllercombo extension which offers more functionality (i.e. sequential key combos) than if gamepad is integrated on top of the existing native hotkey handler (the latter probably could only allow a single button or combo to be set without a moderate redesign of the set hotkey form). i could probably make a GUI for mgr.inz's extension and add an entry just below the CE's Set Hotkey option but note the increased overhead of pass through the lua engine.
of course the best of both world would be to port or mimic mgr.inz's extension in pascal and redesign CE's hotkey form to accomodate the two different styles of setting hotkeys for gamepad and keyboard, but my skill level is not up to par, yet
TLDR; i'll do up a GUI for mgr.inz's controllercombo extension sooner but probably later
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25837 Location: The netherlands
|
Posted: Thu Jun 09, 2016 2:50 pm Post subject: |
|
|
it's on a list of stuff to do. I most like assign fake virtual keycodes to them letting the hotkey handler know to use the xinput api to get those states
the setup gui needs to be adjusted a bit more though, as it doesn't work with keydown events that it uses now
(There is a theoretic way to make it get handled as a key, but may be win8 only, or slow)
edit: And it's in
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|