Assignment 3: Processing Input
Description
All games require some way for the player to interact. Some games use the mouse while other use the keyboard or joystick.
Task
Create a program that displays the Up, Down and Pressed values of the keyboard and the X, Y, LeftButton and RightButton of the mouse. Arrange them on the screen so that all values can be seen.
Post a screen shot of the completed scene.
Post a screen shot of the program.
Questions
1) What values does Up and Down keyboard display? numbers that can go into the hundreds
2) What values does LeftButton and RightButton mouse display? 1 and 0
3) How is the Pressed value of the keyboard different from all the other values? it shows (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,00,0,0,0,0,0,0,0,0,0,0,0,0) and so on a string(str) of numbers