Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CE Request

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Apr 19, 2016 5:27 pm    Post subject: CE Request Reply with quote

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
View user's profile Send private message
Meiyoh
Master Cheater
Reputation: 1

Joined: 14 Mar 2015
Posts: 402

PostPosted: Thu Jun 09, 2016 7:14 am    Post subject: Reply with quote

I second this!
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Thu Jun 09, 2016 1:34 pm    Post subject: Reply with quote

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 Rolling Eyes




TLDR; i'll do up a GUI for mgr.inz's controllercombo extension sooner but probably later Laughing
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25837
Location: The netherlands

PostPosted: Thu Jun 09, 2016 2:50 pm    Post subject: This post has 2 review(s) Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites