+ return bind->prev & (bind->value ^ bind->prev) && !vg_console_enabled();
+}
+
+static inline int vg_get_button_state( const char *button )
+{
+ 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;