delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/25/09:56:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: wrong definition of VK_KANA
X-URI: http://www.boreas.dti.ne.jp/~miyoshi/
MIME-Version: 1.0 (generated by EMIKO 1.14.1 - "Choanoflagellata")
From: MIYOSHI Masanori <miyoshi AT boreas DOT dti DOT ne DOT jp>
Date: Wed, 25 Dec 2002 23:55:52 +0900
Message-ID: <ufzsm5err.miyoshi@boreas.dti.ne.jp>
User-Agent: T-gnus/6.15.8 (based on Oort Gnus v0.08) (revision 05) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.7 (Fujiidera) APEL/10.4 Emacs/21.1 (i386-mingw-nt5.0.2195) MULE/5.0 (SAKAKI) Meadow/1.99 Alpha4 (KUROGANE)

I found a wrong definition of VK_KANA (virtual-key code) in
usr/include/w32api/winuser.h.

I found the definition of VK_KANA in usr/include/w32api/winuser.h
is wrong.

I would like the following patch applied.

--- ./winuser.h.orig	2002-11-26 05:21:14.000000000 +0900
+++ ./winuser.h	2002-12-25 23:20:19.000000000 +0900
@@ -1576,12 +1576,12 @@
 #define VK_TAB	9
 #define VK_CLEAR	12
 #define VK_RETURN	13
-#define VK_KANA		15
 #define VK_SHIFT	16
 #define VK_CONTROL	17
 #define VK_MENU	18
 #define VK_PAUSE	19
 #define VK_CAPITAL	20
+#define VK_KANA		0x15
 #define VK_ESCAPE	0x1B
 #define VK_SPACE	32
 #define VK_PRIOR	33

--
MIYOSHI Masanori  mailto:miyoshi AT boreas DOT dti DOT ne DOT jp
                  http://www.boreas.dti.ne.jp/~miyoshi/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019