mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-08 04:08:49 -04:00
feat: Add mouse wheel support for game input passthrough
- Implement mouse wheel event handling in SDL2 backend (emu_window_sdl2) - Add wheel event routing from GRenderWindow to input subsystem - Add debugging logs to trace mouse wheel events through input chain - Support mouse wheel input for mods like Ultracam when games are running (WIP) Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -135,6 +135,9 @@ public:
|
||||
/// Returns the latest mouse wheel change
|
||||
AnalogStickState GetMouseWheel() const;
|
||||
|
||||
/// Resets the mouse wheel state (should be called each frame)
|
||||
void ResetMouseWheel();
|
||||
|
||||
/**
|
||||
* Adds a callback to the list of events
|
||||
* @param update_callback InterfaceUpdateCallback that will be triggered
|
||||
|
||||
Reference in New Issue
Block a user