mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-19 22:01:05 +00:00
Fix code style in keyboard_inject
This commit is contained in:
parent
82a053015d
commit
c96505200a
@ -9,8 +9,7 @@
|
||||
#include "util/log.h"
|
||||
|
||||
/** Downcast key processor to sc_keyboard_inject */
|
||||
#define DOWNCAST(KP) \
|
||||
container_of(KP, struct sc_keyboard_inject, key_processor)
|
||||
#define DOWNCAST(KP) container_of(KP, struct sc_keyboard_inject, key_processor)
|
||||
|
||||
#define MAP(FROM, TO) case FROM: *to = TO; return true
|
||||
#define FAIL default: return false
|
||||
|
Loading…
Reference in New Issue
Block a user