= - [ and ] keys

Started by monkey0506, Wed 27/10/2004 02:50:29

Previous topic - Next topic

monkey0506

The keys '=' '-' '[' and ']' are not listed in the help file. Are they just not supported? Because by using a ASCII table in the C++ book I'm using to learn C++ I found the keys:

'=' = 61
'-' = 45
'[' = 91
']' = 93

So are these keys just not "officially supported", but still usable, like arrays? Because I tried using them, and the keys work with on_key_press, so I just don't understand why they aren't in the list. Sorry if this is the wrong thread...

Hellomoto

#1
Heres the list as I know it:

Deleted as it was the wrong list and it was kinda long. If I can find the right one, I might post it again. Sorry


Gilbert

The list is in no way complete, it just listed some of the more common keycodes.
If you really want to use the other keys, you can just check them yourself.
But beware that keyboard layouts may differ in different countries, so you should avoid using some of the "rare" keys as these keys may not be present in some of the layouts or are handled differently. ( [ and  ] and so common that I think they're okay though, even I myself used them in my game).

JohnnyC, that's the ASCII table for characters, not the keyboard keycodes, furthermore ASCII #>127 may not be standardized and may differ in places. Well AGS can't display those characters in a string anyway (unless you're using TTF AND a translation file).

TerranRich

If they dont work JohnnyC, then consider using other keys instead. I see that you're probably using them for speed change and volume, perhaps? perhaps the F__ keys or some other punctuation keys?
Status: Trying to come up with some ideas...

monkey0506

Ok... thanks for the explanation. That makes sense. BTW, those keys DO work... And I'm the one that was using them...

SMF spam blocked by CleanTalk