little cleanup and mousewheel support for skeleton

This commit is contained in:
aap
2026-04-06 01:03:14 +02:00
parent 373961bbce
commit 938330ffaa
6 changed files with 61 additions and 11 deletions

View File

@@ -72,6 +72,7 @@ enum Event
CHARINPUT,
MOUSEMOVE,
MOUSEBTN,
MOUSEWHEEL,
RESIZE,
IDLE,
QUIT
@@ -91,6 +92,7 @@ struct MouseState
{
int posx, posy;
int buttons; // bits 0-2 are left, middle, right button down
float wheelDelta;
};
struct Args