key mapping

Posted By: DLively

key mapping - 04/19/15 06:56

Okay, so this may seem simple sounding, so hopefully it is.

I am trying to get the key name for keypad 5, but I can't find one - even key_lastpressed doesn't pick it up smirk any ideas?
Posted By: alibaba

Re: key mapping - 04/19/15 07:45

I think itīs only useable when having the numpad active. And then itīs the key_5 I guess.
Posted By: Denn15

Re: key mapping - 04/19/15 09:50

have a look at this code. with this you can at least use the numpad. im not sure how to get the keyname for it to make it rebindable if that is what you want to achieve.

http://www.opserver.de/ubb7/ubbthreads.p...true#Post269670
Posted By: Anonymous

Re: key mapping - 04/19/15 15:47

If it's still unanswered in a few days, try asking the developer, because is is an interesting question. However, not ever pc has a numpad, many laptops do not.
Posted By: DLively

Re: key mapping - 04/19/15 15:50

I just need the arrow keys laugh ... but all of them at once grin I'll give that code a try -

But this was supposed to be a quick fix for my other problem... looks like this isn't good either since I hadn't considered that the numpad is only on some keybpards...

btw, the key_5 doesn't work on numpad. without the above code (which I have yet to try) laugh smirk
© 2024 lite-C Forums