diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-06-02 17:39:05 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-06-03 22:31:13 +0200 |
commit | f13f0db33a18040e660b6ed76ad43d1870f096a2 (patch) | |
tree | 5eb21b606796f0bcd984dd0252666307883c4c49 /video/out/osx_common.h | |
parent | 63e2a21c644dad53f5fc256a2d00aef6b171f17c (diff) | |
download | mpv-f13f0db33a18040e660b6ed76ad43d1870f096a2.tar.bz2 mpv-f13f0db33a18040e660b6ed76ad43d1870f096a2.tar.xz |
osx: create macosx_events to deal with keyDown events
On OSX with Cocoa enabled keyDown events are now handled with
addLocalMonitorForEventsMatchingMask:handler:. This allows to respond to
events even when there is no VO initialized but the GUI is focused.
Diffstat (limited to 'video/out/osx_common.h')
-rw-r--r-- | video/out/osx_common.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/video/out/osx_common.h b/video/out/osx_common.h deleted file mode 100644 index 3c4855fde3..0000000000 --- a/video/out/osx_common.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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_OSX_COMMON_H -#define MPLAYER_OSX_COMMON_H - -int convert_key(unsigned key, unsigned charcode); - -#endif /* MPLAYER_OSX_COMMON_H */ |