diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-29 12:55:23 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-29 12:55:23 +0300 |
commit | 986e519fc9373e2b3dab6f86debcbd7e13466c34 (patch) | |
tree | 928eb75d2e6e5685fa468efe4e074a6825a197b9 /input/ar.h | |
parent | b6b82964aa3f9ba93f6f284ed97c278743f50fce (diff) | |
download | mpv-986e519fc9373e2b3dab6f86debcbd7e13466c34.tar.bz2 mpv-986e519fc9373e2b3dab6f86debcbd7e13466c34.tar.xz |
input: Remove separate mp_input_add_event_fd
Use the same mp_input_add_key_fd for all uses and add a context
argument to its callback that was before only in the event fd
callbacks. Instead of checking in input.c whether keys were inserted
to the keypress FIFO during the callback do the check in the callback
before returning and set return value accordingly.
Diffstat (limited to 'input/ar.h')
-rw-r--r-- | input/ar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/ar.h b/input/ar.h index 836ba089d1..ae763acdad 100644 --- a/input/ar.h +++ b/input/ar.h @@ -36,7 +36,7 @@ #define AR_VDOWN (AR_BASE + 9) int mp_input_ar_init(void); -int mp_input_ar_read(int fd); +int mp_input_ar_read(void *ctx, int fd); void mp_input_ar_close(int fd); #endif /* MPLAYER_AR_H */ |