Numpad Utilization 1.7.2
Bug #784911 reported by
Brandon Eddy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
New
|
Undecided
|
Unassigned |
Bug Description
I would like to submit this to be added to the official build. I added cases in keyboardButton.h, keyboardButton.cxx, and winGraphicsWind
Now accepts:
numpad_1
numpad_2
...
numpad_0
numpad_subtract
numpad_decimal
numpad_divide
One drawback...
This will not allow "shift-numpad_X" calls though. When I set windisplay debug and tested this functionality "keyup: 16" (shift) was always called with any numpad key. This will instead call the alternate inputs listed for the numpad (End, Home, Insert, etc).
If someone else knows how to get around that it would be even more useful.
Attached are the files from the official 1.7.2 that have been altered.
To post a comment you must log in.