mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Do not rely on SDL to expose integer scroll values, as they are not
available in all versions.
It was reimplemented in SDL 3.2.12 by this commit:
<0447c2f3c3>
Refs #6156 <https://github.com/Genymobile/scrcpy/issues/6156>
PR #6216 <https://github.com/Genymobile/scrcpy/pull/6216>
25 lines
466 B
C
25 lines
466 B
C
#ifndef SC_MOUSE_AOA_H
|
|
#define SC_MOUSE_AOA_H
|
|
|
|
#include "common.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "usb/aoa_hid.h"
|
|
#include "hid/hid_mouse.h"
|
|
#include "trait/mouse_processor.h"
|
|
|
|
struct sc_mouse_aoa {
|
|
struct sc_mouse_processor mouse_processor; // mouse processor trait
|
|
|
|
struct sc_hid_mouse hid;
|
|
struct sc_aoa *aoa;
|
|
};
|
|
|
|
bool
|
|
sc_mouse_aoa_init(struct sc_mouse_aoa *mouse, struct sc_aoa *aoa);
|
|
|
|
void
|
|
sc_mouse_aoa_destroy(struct sc_mouse_aoa *mouse);
|
|
|
|
#endif
|