First page Back Continue Last page Graphics
Built In Devices: Mouse & Keyboard
What can the built in devices (mouse & keyboard) do?
Mouse
- read the screen coordinates (x, y)
- know when buttons have been pressed (left, right)
- know when a button is being held
- know if the mouse is moving or is “dragging” something
Keyboard
- know when a key is pressed
- know if a key is being held down
- read what key is pressed / held down