[ Maverik Level 1 functions ]


mav_keyboardGet

Summary

Sample the keyboard.


Syntax

int mav_keyboardGet(int key);


Description

This function samples the state of keyboard key with ASCII code k, returning MAV_PRESSED if it is currently pressed, otherwise MAV_RELEASED.


Back to the index page.