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 


Menu Shortcut Keys

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
abystus
Expert Cheater
Reputation: 1

Joined: 09 Dec 2010
Posts: 140

PostPosted: Mon Jul 13, 2015 1:23 am    Post subject: Menu Shortcut Keys Reply with quote

So I've been making a few new Lua based tools lately, and I've started creating hotkey combinations for them. I've ran into an issue when trying to include the numpad keys into the equation, and have not found a list of working keys for Cheat Engine (I checked the wiki, but may have missed it). I did google Lua keys and keycodes, but none of these seem to work for the numpad keys. I've tried the following examples to no avail:
Code:
mi.Shortcut="Ctrl+?" (? indicates one of the following values)

Numpad 0
Numpad0
Num 0
Num0
KP 0
KP0
NP 0
NP0
0N


Accessing the normal numbers (above home row) works just fine by stating the number in question. Hopefully there is a full list of these keys documented somewhere. Any help is appreciated.

_________________
Hitler are you bored? Watch some of my hacks here. Want 2 gb of online storage space for free? Get Dropbox for computer, phone, etc...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jul 13, 2015 2:08 am    Post subject: Reply with quote

Menu shortcuts are different from cheat engine hotkeys as they only support ascii characters and 3 special keys (Ctrl, alt, shift)

Keypad 0 is dependant on the state of capsclock. It's either 0 or insert

You could use ce's hotkey feature for this and use key VK_NUMPAD0 , which will trigger the onclick function of the menu item. Downside is that they work when cheat engine isn't in the foreground

_________________
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
abystus
Expert Cheater
Reputation: 1

Joined: 09 Dec 2010
Posts: 140

PostPosted: Mon Jul 13, 2015 2:14 am    Post subject: Reply with quote

I appreciate the quick response. I'll see if I can find some suitable ascii based characters for the actions then. Thanks.
_________________
Hitler are you bored? Watch some of my hacks here. Want 2 gb of online storage space for free? Get Dropbox for computer, phone, etc...
Back to top
View user's profile Send private message
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