summaryrefslogtreecommitdiffstats
path: root/core/input/ar.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-03-31 11:03:04 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-03-31 12:15:40 +0200
commitc8fd9e50e47838bbdb0dc5e0b974091312cb8833 (patch)
tree6ba67acd656b75ceeefe9d3bb8bc670b5fd94c4e /core/input/ar.h
parent014298522875f7f41d10eb3e41fcd97926cdedee (diff)
downloadmpv-c8fd9e50e47838bbdb0dc5e0b974091312cb8833.tar.bz2
mpv-c8fd9e50e47838bbdb0dc5e0b974091312cb8833.tar.xz
remove Apple Remote related code
The OSX part of the Apple Remote was unmaintained for a long time and was not working anymore. I tried to update the cookies to what the current versions of OS X expect without much luck. I decided to remove it since Apple is not including the IR receiver anymore in new hardware and it's clear that wifi based remotes are the way to go. A third party iOS app should be used in it's place. In the future we could look into having a dedicated iOS Remote Control app like VLC and XBMC do. The Linux side (`appleir.c`) was relatively tidy but it looks like LIRC can be configured to work with any version of Apple Remote [1] and is more maintained. [1] LIRC Apple Remote configs: http://lirc.sourceforge.net/remotes/apple/
Diffstat (limited to 'core/input/ar.h')
-rw-r--r--core/input/ar.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/core/input/ar.h b/core/input/ar.h
deleted file mode 100644
index dff6d12f8a..0000000000
--- a/core/input/ar.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Apple Remote input interface
- *
- * Copyright (C) 2007 Zoltan Ponekker <pontscho at kac.poliod.hu>
- *
- * This file is part of MPlayer.
- *
- * MPlayer is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * MPlayer is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef MPLAYER_AR_H
-#define MPLAYER_AR_H
-
-/* MacOSX Driver */
-int mp_input_ar_init(void);
-int mp_input_ar_read(void *ctx, int fd);
-int mp_input_ar_close(int fd);
-
-/* Linux Driver */
-int mp_input_appleir_init(char* dev);
-int mp_input_appleir_read(void *ctx, int fd);
-
-#endif /* MPLAYER_AR_H */