From f13f0db33a18040e660b6ed76ad43d1870f096a2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 2 Jun 2013 17:39:05 +0200 Subject: 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. --- video/out/osx_common.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 video/out/osx_common.h (limited to 'video/out/osx_common.h') 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 */ -- cgit v1.2.3