additional changges for keyboard processing
This commit is contained in:
committed by
Raphael Coeffic
parent
52ec439ca2
commit
35af1cd008
@@ -43,6 +43,15 @@ event_t s_evt;
|
||||
struct InactivityData inactivity = {0};
|
||||
Key keys[NUM_KEYS];
|
||||
|
||||
/**
|
||||
* @brief returns true if there is an event waiting.
|
||||
*
|
||||
*/
|
||||
bool isEvent()
|
||||
{
|
||||
return s_evt != 0;
|
||||
}
|
||||
|
||||
event_t getEvent(bool trim)
|
||||
{
|
||||
event_t event = s_evt;
|
||||
|
||||
Reference in New Issue
Block a user