Posted 19 years ago
by Paul Hannah

Hi,
I ran into a problem today, my laptop doesn't have a keypad. I want to assign the keycode Ctrl-+ but it automatically gets entered as Ctrl-Shift-= which is in theory correct, but won't work for everyone.
Two questions, what is the algorithm to calculate the appropriate key integer? Is it correct to use primary keycode as Ctrl-+ and a secondary one as Ctrl-= to catch the case where a user is using a laptop?
Thanks,
Paul.
I ran into a problem today, my laptop doesn't have a keypad. I want to assign the keycode Ctrl-+ but it automatically gets entered as Ctrl-Shift-= which is in theory correct, but won't work for everyone.
Two questions, what is the algorithm to calculate the appropriate key integer? Is it correct to use primary keycode as Ctrl-+ and a secondary one as Ctrl-= to catch the case where a user is using a laptop?
Thanks,
Paul.