This commit is contained in:
Martin Slachta
2026-07-18 14:31:15 +02:00
commit a04f0dc262
3343 changed files with 1140208 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#include "event.h"
inline float get_scroll_y(const ButtonEvent *pEvent) {
if(pEvent->button == 4) {
return 1.0f;
} else if(pEvent->button == 5) {
return -1.0f;
} else {
return 0;
}
}