projects
/
fishladder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove todos
[fishladder.git]
/
vg
/
vg_input.h
diff --git
a/vg/vg_input.h
b/vg/vg_input.h
index 69865427ba75c5f4ae76f1a1fd87467dd09b00e9..6bae274d99cff79a25e39c220a6742463578eb60 100644
(file)
--- a/
vg/vg_input.h
+++ b/
vg/vg_input.h
@@
-91,9
+91,9
@@
static inline int vg_get_button_up( const char *button )
static inline int vg_get_button_state( const char *button )
{
- if( vg_get_button( button ) ) return 2;
if( vg_get_button_down( button ) ) return 1;
if( vg_get_button_up( button ) ) return 3;
+ if( vg_get_button( button ) ) return 2;
return 0;
}