Numpad Minus problem
by Eustacia Green · in Torque Game Engine · 06/19/2004 (5:25 pm) · 5 replies
I checked this on head as of 6/19/2004.
When you try to remap an action using the remap dialog both the numpad minus and the main keyboard minus, register as minus. The game then only responds to the main keyboard minus. If you manually edit the files and replace the minus with numpadminus it will work.
I don't know enough about the code yet to figure out why this is happening. Hopefully one of you out there will know.
When you try to remap an action using the remap dialog both the numpad minus and the main keyboard minus, register as minus. The game then only responds to the main keyboard minus. If you manually edit the files and replace the minus with numpadminus it will work.
I don't know enough about the code yet to figure out why this is happening. Hopefully one of you out there will know.
About the author
#2
06/20/2004 (4:19 am)
Windows platform. And no I didn't. I'll look there later today. Would something in actionmap be what is causing the numpad to register wrong in the options dialog?
#3
But yeah, checking out actionmap is good. Let us know if you find a fix!
06/20/2004 (10:42 am)
It's possible that the input events are being combined in some way, ie, upper and lower case C are different events but it treats them as the same... Occasionally, windows is just inscrutable that way, too.But yeah, checking out actionmap is good. Let us know if you find a fix!
#4
I'm not sure how to fix this, except maybe make a new input control that doesn't change the scan code to ascii, but instead maps it to the codes actionmap understands, ie "-" vs "numpadminus".
06/20/2004 (7:05 pm)
Ok what is happening is the numpad minus and main minus are being scanned in as different dik and vk codes correctly. But the process of getting the key input converts these to ascii, which correctly return "-" for both. I'm not sure how to fix this, except maybe make a new input control that doesn't change the scan code to ascii, but instead maps it to the codes actionmap understands, ie "-" vs "numpadminus".
#5
02/04/2008 (11:58 am)
Hmm this is STILL and issue!
Associate Kyle Carter