diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-18 11:53:00 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-05-18 11:53:00 +0000 |
commit | dc6d14fb1b20e86cc24c6fbe5ce239566e5d588e (patch) | |
tree | 0577b8baadd2986746a75e36642b543e0d6212fc /input/ar.h | |
parent | 971b1a83d8751fdeb6640afa705eb9a39375f286 (diff) |
Add support for AppleIR Remote as an input under Linux systems.
This requires Linux 2.6 with evdev and appleir drivers.
The keymapping is done to mimics the one that was done for MacOSX.
WARNING: Most distributions do not seems to bother and only let root
access to the device. Modify udev rules accordingly if you want regular
user to be able to use the remote.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26795 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/ar.h')
-rw-r--r-- | input/ar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/input/ar.h b/input/ar.h index 10c6aac7a4..31bbd0ade9 100644 --- a/input/ar.h +++ b/input/ar.h @@ -35,8 +35,13 @@ #define AR_VUP (AR_BASE + 8) #define AR_VDOWN (AR_BASE + 9) +/* MacOSX Driver */ int mp_input_ar_init(void); int mp_input_ar_read(int fd); void mp_input_ar_close(int fd); +/* Linux Driver */ +int mp_input_appleir_init(char* dev); +int mp_input_appleir_read(int fd); + #endif /* MPLAYER_AR_H */ |