Keypad?

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Keypad?

Post by y offs et »

Any way to use keypress on the keypad (numpad)?
User avatar
VilleK
Site Admin
Posts: 2371
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

It should work with the virtual key codes:

http://www.kbdedit.com/manual/low_level_vk_list.html

VK_NUMPAD0 0x60
etc.

Note that the values are in hex and you need to convert them to decimal. 0x60 is 96 decimal.
User avatar
Kjell
Posts: 1924
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

:?

0 / Ins / 0x60 / 96 is the only one working for me somehow.

K
User avatar
VilleK
Site Admin
Posts: 2371
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

It could be I filter out key codes that aren't normal characters, I'll look into it.
Post Reply