Computer Science Canada Newbe question - what is the name of key W, A, S, D |
Author: | isaiahk9 [ Wed May 07, 2008 12:10 pm ] |
Post subject: | Newbe question - what is the name of key W, A, S, D |
This is a really newbish question, but I can't find it in the Turing aid section (F10). Anyway, what is the name of teh W, A, S, and D key. Up is like this : (KEY_UP_ARROW) What is W, A, S and D's ID for calling? |
Author: | S_Grimm [ Wed May 07, 2008 12:28 pm ] |
Post subject: | RE:Newbe question - what is the name of key W, A, S, D |
var chars : array char of boolean Input.KeyDown (chars) if chars ('w') then put "The W key is pressed" elsif chars ('a') then put "The A key is pressed" end if |
Author: | Tony [ Wed May 07, 2008 12:43 pm ] |
Post subject: | RE:Newbe question - what is the name of key W, A, S, D |
you'd obviously need to place that into a loop to work... but A\V is right, alphanumeric keys are referred to by their character values. |
Author: | isaiahk9 [ Wed May 07, 2008 5:07 pm ] |
Post subject: | RE:Newbe question - what is the name of key W, A, S, D |
thanx |