Numberpad keys missingnot working

/,*,-,+,. are not or doesn't seem to be included and numberPadEnter doesn't work …just spent the last 30mins wondering why I couldn't seem to code a simple "switch" command, only to realize that numberPadEnter doesn't work "for me" at least in jme.



help please

okay figured most of it out the…naming threw me off :// but KeyInput.KEY_NUMPADENTER is still having no effect …errr…that is numberpad enter isn't it :? and its not a hardware issue on my end

I checked it and for my keyboard die keycode for the numpadenter is equal to the normal enter. (28)

ttrocha said:

I checked it and for my keyboard die keycode for the numpadenter is equal to the normal enter. (28)


i checked that and it works but..............that wrong..........no :?, the fact that two "technically" distinct keys share the same code, what if u need them to do different things

Yes, I agree. The question is where occurs the error. It is the LWJGLInput that receives the keycode. I'm on a windows-system, u? Might be intersting if this is OS-related problem as LWJGLInput wants this key to have another keycode…

ttrocha said:

Yes, I agree. The question is where occurs the error. It is the LWJGLInput that receives the keycode. I'm on a windows-system, u? Might be intersting if this is OS-related problem as LWJGLInput wants this key to have another keycode...


I'm on windows and it would be interesting to know where this happens

using awt both keycodes are the same as well! Every really every other numpad-key's code is different to the representation on the main-keyboard. it is only for the enter…I doubt that there is a quickfix for that. Looking in the internet I e.g. found that: http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001136.html

There also numpad-enter and normal enter have the same keycode…


ok but I know that this not the in all instances have used these keys for different commands in other apps…anyway…noted

I dont have a keypad so cant find the values, but put a breakpoint in LWJGLKeyInput.java in the update method and follow the code from there.



<< JOC >>

JOC said:

I dont have a keypad so cant find the values, but put a breakpoint in LWJGLKeyInput.java in the update method and follow the code from there.

<< JOC >>


um Idont mean apps I made with jme just ones I have used....games and such