button mapping
BlitzMax Forums/BlitzMax Programming/button mapping
| ||
i am working on some button mapping functions does GetChar() actualy return the KeyCode number or the ascii number? |
| ||
I use GetChar(), I'm 99% sure it returns the ascii, hence as in get 'char' (character). So nope, doubt you can use it properly to map buttons too. |
| ||
You won't use the KeyCode normally anyway. Reason is that if you map stuff like +- etc with keycode it will break on notebooks etc normally quite badly |
| ||
then what should i use to button map the keyboard, because i know different countries have different lay out of buttons |
| ||
Im currently using the waitkey() command, this obviously halts the program though so I am not too sure if i will keep it for the final release as it won't look all that great. |