Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mailrus!ames!vsi1!altnet!uunet!lupine!klein
From: klein@lupine.UUCP (Doug Klein )
Newsgroups: comp.windows.x
Subject: Mod state in XKeyEvent
Keywords: NUMLOCK,Key Event
Message-ID: <145@lupine.UUCP>
Date: 27 Sep 88 19:19:56 GMT
Organization: Network Computing Devices, Palo Alto, CA
Lines: 15


The 'state' field in the XKeyEvent structure has pre-defined fields for 
SHIFT, CONTROL, and LOCK, with 5 extra fields for server dependant masks,
Mod[1-5]. The convention for META is currently Mod1, (is this enforced 
anywhere?), but I haven't noticed any applications assuming any other 
conventions. Is there any general consensus on defining any other "standard"
uses of the Mod's? For instance, has anyone seen any applications looking
for the NUMLOCK modifier, as in a PC style keyboard? 


-- 

Doug Klein
Network Computing Devices
uunet!lupine!klein