view src/w32inevt.h @ 110930:b6cf32bb07a1

Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX. * lisp/cus-start.el (all): ns-right-alternate-modifier is new. * lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar. (ns-right-option-modifier): New alias for ns-right-alternate-modifier. (mac-right-option-modifier): New alias for ns-right-option-modifier. * src/nsterm.m (Qleft): Declare. (ns_right_alternate_modifier): New variable (NSRightAlternateKeyMask): New define. (EV_MODIFIERS): Parse NSRightAlternateKeyMask if ns_right_alternate_modifier isn't Qleft. (keyDown): If ns_right_alternate_modifier isn't Qleft, use it as emacs modifier for NSRightAlternateKeyMask. (syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
author Jan D. <jan.h.d@swipnet.se>
date Mon, 11 Oct 2010 21:18:08 +0200
parents 1d1d5d9bd884
children 376148b31b5e
line wrap: on
line source

/* Input routines for GNU Emacs on the Microsoft W32 API.
   Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005,
                 2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.

This file is part of GNU Emacs.

GNU Emacs 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 3 of the License, or
(at your option) any later version.

GNU Emacs 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 GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */

#ifndef EMACS_W32INEVT_H
#define EMACS_W32INEVT_H

extern int w32_console_read_socket (struct terminal *term, int numchars,
				    struct input_event *hold_quit);
extern void w32_console_mouse_position (FRAME_PTR *f, int insist,
					Lisp_Object *bar_window,
					enum scroll_bar_part *part,
					Lisp_Object *x, Lisp_Object *y,
					unsigned long *time);

#endif /* EMACS_W32INEVT_H */

/* arch-tag: 7641bd54-199f-4552-8e8a-6a2f5340ef13
   (do not change this comment) */