Forums » MacOS X
Binding to a keypad
What is the syntax for using the keypad for binds on a Mac? I've done a search and have found a few Linux threads and a something very old which hinted that this was already implemented but I can't seem to get it to work.
I've been unsuccessful with the format: bind KP_0 "echo 'Something witty'".
On a G5 iMac running Mac OS X 10.3.9. Using the keyboard with which it came.
I've been unsuccessful with the format: bind KP_0 "echo 'Something witty'".
On a G5 iMac running Mac OS X 10.3.9. Using the keyboard with which it came.
You missed a step.
alias witty_echo "echo 'Something witty'"
bind KP_0 witty_echo
You need to make an alias for the echo first, and then bind the alias for it to work.
alias witty_echo "echo 'Something witty'"
bind KP_0 witty_echo
You need to make an alias for the echo first, and then bind the alias for it to work.
Thanks. I've added the missing alias to my test but still no joy. I've tried replacing other binds that I know work with the same syntax ("KP_x") and they get stripped from the wgaf.cfg file - there seems to be some sort of check the client does which doesn't want me to use the number pad on my keyboard for anything but numbers.
The KP_0 stuff only works in Linux right now.
I'll see what I can do about getting it to work on the mac.
I'll see what I can do about getting it to work on the mac.
After just checking it, you bind the number keys on the keypad via the normal numbers. The mac version does not distinguish between the numbers across the top and the keypad numbers.
Thanks for all the quick responses. It's a shame we can't use the numberpad as another set of keys - I was hoping to use them for quick chat aliases since my number keys are already spoken for. Can never have too many keys is what I say.
I was going to say what ray said...
It really annoys me that Apple does not discern between numblock and alphanumeric numbers, though. They effectively rob us of 10 unique keys.
It really annoys me that Apple does not discern between numblock and alphanumeric numbers, though. They effectively rob us of 10 unique keys.
Hmm, true.
One odd thing, not that it really matters. The white mac keyboard gives both return and enter keys as activate , but the new aluminum keyboard just gives return.
One odd thing, not that it really matters. The white mac keyboard gives both return and enter keys as activate , but the new aluminum keyboard just gives return.
I'm pretty sure Macs *can* tell when you use the numberpad. I've used programs where the numberpad could be configured independently of the numbers at the top of the keyboard.
In particular, I seem to recall a few games which allowed the user to use the numberpad in lieu of the qwe/asd/zxc block of keys for movement. This seemed to work better for left-handed users. Not sure if this is something VO could implement but I wouldn't consider it a high priority.
In particular, I seem to recall a few games which allowed the user to use the numberpad in lieu of the qwe/asd/zxc block of keys for movement. This seemed to work better for left-handed users. Not sure if this is something VO could implement but I wouldn't consider it a high priority.
Not too low, either, though. But it's good to know I was wrong about that, it gives me more hope :)
except the left handed players would have to learn how to use a mouse with their right hand
yea, all the civ games can distinguish between keypad and regular keys..
if I hit 5 on my keypad it centers my view on the currently-selected unit, if I hit it on the number row, it does nothing.. I've also used it in many other games, view-wise.
ps. yea.. on my mac
break19
if I hit 5 on my keypad it centers my view on the currently-selected unit, if I hit it on the number row, it does nothing.. I've also used it in many other games, view-wise.
ps. yea.. on my mac
break19
Same deal with Command & Conquer Generals/Zero Hour. Number row keys don't do the same things the numpad keys do.
Yes, the mac OS can distinguish them, but the mac version of VO does currently not.