View previous topic :: View next topic |
Author |
Message |
Camdog
Joined: 08 Aug 2003 Posts: 606
|
Posted: Fri Oct 24, 2008 7:22 am Post subject: Quick Question About Scancodes and Ascii Codes |
|
|
Is there an easy way to convert between the two, or am I stuck with a big old switch statement? |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Fri Oct 24, 2008 7:49 am Post subject: |
|
|
You do need a big old switch statement, but if you wrap it in a function, at least you only need to write it once.
Actually, heck, if you wrap it in a function, post it on the wiki, and other people will be able to mooch off your hard work benefit from your hard work too!
EDIT: Oh, hey! I forgot about the 'plot:last ascii' command. Does that do what you need? |
|
Back to top |
|
 |
Camdog
Joined: 08 Aug 2003 Posts: 606
|
Posted: Fri Oct 24, 2008 11:25 am Post subject: |
|
|
Close, but not quite. Big old switch statement it is! I'll stick it on the wiki when I'm finished throwing it together. |
|
Back to top |
|
 |
|