mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-28 11:49:10 +00:00
Prefix control event constants by namespace
This will avoid conflicts with future device events.
This commit is contained in:
parent
999c964689
commit
b08dada6c1
4 changed files with 16 additions and 16 deletions
|
@ -51,7 +51,7 @@ controller_push_event(struct controller *controller,
|
|||
static bool
|
||||
process_event(struct controller *controller,
|
||||
const struct control_event *event) {
|
||||
unsigned char serialized_event[SERIALIZED_EVENT_MAX_SIZE];
|
||||
unsigned char serialized_event[CONTROL_EVENT_SERIALIZED_MAX_SIZE];
|
||||
int length = control_event_serialize(event, serialized_event);
|
||||
if (!length) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue