jdk/src/solaris/classes/sun/awt/X11/XKeysym.java
changeset 450 be95c1c0efcf
parent 2 90ce3da70b43
child 1187 6067b9e2eac6
equal deleted inserted replaced
449:7820f232278d 450:be95c1c0efcf
     1 // This is a generated file: do not edit! Edit keysym2ucs.h if necessary.
     1 // This is a generated file: do not edit! Edit keysym2ucs.h if necessary.
     2 
     2 
     3 /*
     3 /*
     4  * Copyright 2005-2007 Sun Microsystems, Inc.  All Rights Reserved.
     4  * Copyright 2005-2008 Sun Microsystems, Inc.  All Rights Reserved.
     5  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6  *
     6  *
     7  * This code is free software; you can redistribute it and/or modify it
     7  * This code is free software; you can redistribute it and/or modify it
     8  * under the terms of the GNU General Public License version 2 only, as
     8  * under the terms of the GNU General Public License version 2 only, as
     9  * published by the Free Software Foundation.  Sun designates this
     9  * published by the Free Software Foundation.  Sun designates this
  1493              * same keysym as ALT_GRAPH in spite of its different behavior.
  1493              * same keysym as ALT_GRAPH in spite of its different behavior.
  1494              */
  1494              */
  1495 
  1495 
  1496         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_Multi_key),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_COMPOSE, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
  1496         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_Multi_key),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_COMPOSE, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
  1497         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_Mode_switch),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_ALT_GRAPH, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
  1497         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_Mode_switch),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_ALT_GRAPH, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
       
  1498         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_ISO_Level3_Shift),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_ALT_GRAPH, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
  1498 
  1499 
  1499             /* Editing block */
  1500             /* Editing block */
  1500         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_Redo),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_AGAIN, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
  1501         keysym2JavaKeycodeHash.put( Long.valueOf(XKeySymConstants.XK_Redo),     new Keysym2JavaKeycode(java.awt.event.KeyEvent.VK_AGAIN, java.awt.event.KeyEvent.KEY_LOCATION_STANDARD));
  1501         // XXX XK_L2 == F12; TODO: add code to use only one of them depending on the keyboard type. For now, restore
  1502         // XXX XK_L2 == F12; TODO: add code to use only one of them depending on the keyboard type. For now, restore
  1502         // good PC behavior and bad but old Sparc behavior.
  1503         // good PC behavior and bad but old Sparc behavior.