Merge branch 'master' into pinecil
This commit is contained in:
@@ -42,7 +42,7 @@ ButtonState getButtonState() {
|
||||
else if (currentState == 0x02)
|
||||
return BUTTON_B_LONG;
|
||||
else
|
||||
return BUTTON_NONE; // Both being held case, we dont long hold this
|
||||
return BUTTON_BOTH_LONG; // Both being held case
|
||||
} else
|
||||
return BUTTON_NONE;
|
||||
} else {
|
||||
|
||||
@@ -17,6 +17,7 @@ enum ButtonState {
|
||||
BUTTON_F_LONG = 4, /* User is holding the front button*/
|
||||
BUTTON_B_LONG = 8, /* User is holding the back button*/
|
||||
BUTTON_BOTH = 16, /* User has pressed both buttons*/
|
||||
BUTTON_BOTH_LONG = 32, /* User is holding both buttons*/
|
||||
|
||||
/*
|
||||
* Note:
|
||||
|
||||
Reference in New Issue
Block a user