/*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code 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
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
public static final long XK_VoidSymbol =
0xFFFFFF ;
/* void symbol */
/*
* TTY Functions, cleverly chosen to map to ascii, for convenience of
* programming, but could have been arbitrary (at the cost of lookup
* tables in client code.
*/
public static final long XK_BackSpace =
0xFF08 ;
/* back space, back char */ public static final long XK_Tab =
0xFF09 ;
public static final long XK_Linefeed =
0xFF0A ;
/* Linefeed, LF */ public static final long XK_Clear =
0xFF0B ;
public static final long XK_Return =
0xFF0D ;
/* Return, enter */ public static final long XK_Pause =
0xFF13 ;
/* Pause, hold */ public static final long XK_Escape =
0xFF1B ;
public static final long XK_Delete =
0xFFFF ;
/* Delete, rubout */
/* International & multi-key character composition */
public static final long XK_Multi_key =
0xFF20 ;
/* Multi-key character compose */
/* Japanese keyboard support */
public static final long XK_Kanji =
0xFF21 ;
/* Kanji, Kanji convert */ public static final long XK_Muhenkan =
0xFF22 ;
/* Cancel Conversion */ public static final long XK_Henkan =
0xFF23 ;
/* Alias for Henkan_Mode */ public static final long XK_Romaji =
0xFF24 ;
/* to Romaji */ public static final long XK_Hiragana =
0xFF25 ;
/* to Hiragana */ public static final long XK_Katakana =
0xFF26 ;
/* to Katakana */ public static final long XK_Zenkaku =
0xFF28 ;
/* to Zenkaku */ public static final long XK_Hankaku =
0xFF29 ;
/* to Hankaku */ public static final long XK_Touroku =
0xFF2B ;
/* Add to Dictionary */ public static final long XK_Massyo =
0xFF2C ;
/* Delete from Dictionary */ public static final long XK_Kana_Lock =
0xFF2D ;
/* Kana Lock */ public static final long XK_Kana_Shift =
0xFF2E ;
/* Kana Shift */ public static final long XK_Eisu_Shift =
0xFF2F ;
/* Alphanumeric Shift */ public static final long XK_Eisu_toggle =
0xFF30 ;
/* Alphanumeric toggle */ public static final long XK_Mae_Koho =
0xFF3E ;
/* Previous Candidate */
/* 0xFF31 thru 0xFF3F are under XK_KOREAN */
/* Cursor control & motion */
public static final long XK_Home =
0xFF50 ;
public static final long XK_Left =
0xFF51 ;
/* Move left, left arrow */ public static final long XK_Up =
0xFF52 ;
/* Move up, up arrow */ public static final long XK_Right =
0xFF53 ;
/* Move right, right arrow */ public static final long XK_Down =
0xFF54 ;
/* Move down, down arrow */ public static final long XK_Prior =
0xFF55 ;
/* Prior, previous */ public static final long XK_Next =
0xFF56 ;
/* Next */ public static final long XK_End =
0xFF57 ;
/* EOL */ public static final long XK_Begin =
0xFF58 ;
/* BOL */
/* Misc Functions */
public static final long XK_Select =
0xFF60 ;
/* Select, mark */ public static final long XK_Print =
0xFF61 ;
public static final long XK_Execute =
0xFF62 ;
/* Execute, run, do */ public static final long XK_Insert =
0xFF63 ;
/* Insert, insert here */ public static final long XK_Undo =
0xFF65 ;
/* Undo, oops */ public static final long XK_Redo =
0xFF66 ;
/* redo, again */ public static final long XK_Menu =
0xFF67 ;
public static final long XK_Find =
0xFF68 ;
/* Find, search */ public static final long XK_Cancel =
0xFF69 ;
/* Cancel, stop, abort, exit */ public static final long XK_Help =
0xFF6A ;
/* Help */ public static final long XK_Break =
0xFF6B ;
public static final long XK_Mode_switch =
0xFF7E ;
/* Character set switch */ public static final long XK_script_switch =
0xFF7E ;
/* Alias for mode_switch */
/* Keypad Functions, keypad numbers cleverly chosen to map to ascii */
public static final long XK_KP_Space =
0xFF80 ;
/* space */ public static final long XK_KP_Tab =
0xFF89 ;
public static final long XK_KP_Enter =
0xFF8D ;
/* enter */ public static final long XK_KP_F1 =
0xFF91 ;
/* PF1, KP_A, ... */ public static final long XK_KP_F2 =
0xFF92 ;
public static final long XK_KP_F3 =
0xFF93 ;
public static final long XK_KP_F4 =
0xFF94 ;
public static final long XK_KP_Up =
0xFF97 ;
public static final long XK_KP_End =
0xFF9C ;
public static final long XK_KP_Equal =
0xFFBD ;
/* equals */ public static final long XK_KP_Add =
0xFFAB ;
public static final long XK_KP_Separator =
0xFFAC ;
/* separator, often comma */
public static final long XK_KP_0 =
0xFFB0 ;
public static final long XK_KP_1 =
0xFFB1 ;
public static final long XK_KP_2 =
0xFFB2 ;
public static final long XK_KP_3 =
0xFFB3 ;
public static final long XK_KP_4 =
0xFFB4 ;
public static final long XK_KP_5 =
0xFFB5 ;
public static final long XK_KP_6 =
0xFFB6 ;
public static final long XK_KP_7 =
0xFFB7 ;
public static final long XK_KP_8 =
0xFFB8 ;
public static final long XK_KP_9 =
0xFFB9 ;
/*
* Auxilliary Functions; note the duplicate definitions for left and right
* function keys; Sun keyboards and a few other manufactures have such
* function key groups on the left and/or right sides of the keyboard. * We've not found a keyboard with more than 35 function keys total.
*/
public static final long XK_F1 =
0xFFBE ;
public static final long XK_F2 =
0xFFBF ;
public static final long XK_F3 =
0xFFC0 ;
public static final long XK_F4 =
0xFFC1 ;
public static final long XK_F5 =
0xFFC2 ;
public static final long XK_F6 =
0xFFC3 ;
public static final long XK_F7 =
0xFFC4 ;
public static final long XK_F8 =
0xFFC5 ;
public static final long XK_F9 =
0xFFC6 ;
public static final long XK_F10 =
0xFFC7 ;
public static final long XK_F11 =
0xFFC8 ;
public static final long XK_L1 =
0xFFC8 ;
public static final long XK_F12 =
0xFFC9 ;
public static final long XK_L2 =
0xFFC9 ;
public static final long XK_F13 =
0xFFCA ;
public static final long XK_L3 =
0xFFCA ;
public static final long XK_F14 =
0xFFCB ;
public static final long XK_L4 =
0xFFCB ;
public static final long XK_F15 =
0xFFCC ;
public static final long XK_L5 =
0xFFCC ;
public static final long XK_F16 =
0xFFCD ;
public static final long XK_L6 =
0xFFCD ;
public static final long XK_F17 =
0xFFCE ;
public static final long XK_L7 =
0xFFCE ;
public static final long XK_F18 =
0xFFCF ;
public static final long XK_L8 =
0xFFCF ;
public static final long XK_F19 =
0xFFD0 ;
public static final long XK_L9 =
0xFFD0 ;
public static final long XK_F20 =
0xFFD1 ;
public static final long XK_L10 =
0xFFD1 ;
public static final long XK_F21 =
0xFFD2 ;
public static final long XK_R1 =
0xFFD2 ;
public static final long XK_F22 =
0xFFD3 ;
public static final long XK_R2 =
0xFFD3 ;
public static final long XK_F23 =
0xFFD4 ;
public static final long XK_R3 =
0xFFD4 ;
public static final long XK_F24 =
0xFFD5 ;
public static final long XK_R4 =
0xFFD5 ;
public static final long XK_F25 =
0xFFD6 ;
public static final long XK_R5 =
0xFFD6 ;
public static final long XK_F26 =
0xFFD7 ;
public static final long XK_R6 =
0xFFD7 ;
public static final long XK_F27 =
0xFFD8 ;
public static final long XK_R7 =
0xFFD8 ;
public static final long XK_F28 =
0xFFD9 ;
public static final long XK_R8 =
0xFFD9 ;
public static final long XK_F29 =
0xFFDA ;
public static final long XK_R9 =
0xFFDA ;
public static final long XK_F30 =
0xFFDB ;
public static final long XK_R10 =
0xFFDB ;
public static final long XK_F31 =
0xFFDC ;
public static final long XK_R11 =
0xFFDC ;
public static final long XK_F32 =
0xFFDD ;
public static final long XK_R12 =
0xFFDD ;
public static final long XK_F33 =
0xFFDE ;
public static final long XK_R13 =
0xFFDE ;
public static final long XK_F34 =
0xFFDF ;
public static final long XK_R14 =
0xFFDF ;
public static final long XK_F35 =
0xFFE0 ;
public static final long XK_R15 =
0xFFE0 ;
/* Modifiers */
public static final long XK_Shift_L =
0xFFE1 ;
/* Left shift */ public static final long XK_Shift_R =
0xFFE2 ;
/* Right shift */ public static final long XK_Control_L =
0xFFE3 ;
/* Left control */ public static final long XK_Control_R =
0xFFE4 ;
/* Right control */ public static final long XK_Caps_Lock =
0xFFE5 ;
/* Caps lock */ public static final long XK_Shift_Lock =
0xFFE6 ;
/* Shift lock */
public static final long XK_Meta_L =
0xFFE7 ;
/* Left meta */ public static final long XK_Meta_R =
0xFFE8 ;
/* Right meta */ public static final long XK_Alt_L =
0xFFE9 ;
/* Left alt */ public static final long XK_Alt_R =
0xFFEA ;
/* Right alt */ public static final long XK_Super_L =
0xFFEB ;
/* Left super */ public static final long XK_Super_R =
0xFFEC ;
/* Right super */ public static final long XK_Hyper_L =
0xFFED ;
/* Left hyper */ public static final long XK_Hyper_R =
0xFFEE ;
/* Right hyper */
/*
* ISO 9995 Function and Modifier Keys
* Byte 3 = 0xFE
*/
/*
* 3270 Terminal Keys
* Byte 3 = 0xFD
*/
/*
* Latin 1
* Byte 3 = 0
*/
public static final long XK_space =
0x020 ;
public static final long XK_quoteright =
0x027 ;
/* deprecated */ public static final long XK_plus =
0x02b ;
public static final long XK_comma =
0x02c ;
public static final long XK_minus =
0x02d ;
public static final long XK_slash =
0x02f ;
public static final long XK_0 =
0x030 ;
public static final long XK_1 =
0x031 ;
public static final long XK_2 =
0x032 ;
public static final long XK_3 =
0x033 ;
public static final long XK_4 =
0x034 ;
public static final long XK_5 =
0x035 ;
public static final long XK_6 =
0x036 ;
public static final long XK_7 =
0x037 ;
public static final long XK_8 =
0x038 ;
public static final long XK_9 =
0x039 ;
public static final long XK_colon =
0x03a ;
public static final long XK_less =
0x03c ;
public static final long XK_equal =
0x03d ;
public static final long XK_at =
0x040 ;
public static final long XK_A =
0x041 ;
public static final long XK_B =
0x042 ;
public static final long XK_C =
0x043 ;
public static final long XK_D =
0x044 ;
public static final long XK_E =
0x045 ;
public static final long XK_F =
0x046 ;
public static final long XK_G =
0x047 ;
public static final long XK_H =
0x048 ;
public static final long XK_I =
0x049 ;
public static final long XK_J =
0x04a ;
public static final long XK_K =
0x04b ;
public static final long XK_L =
0x04c ;
public static final long XK_M =
0x04d ;
public static final long XK_N =
0x04e ;
public static final long XK_O =
0x04f ;
public static final long XK_P =
0x050 ;
public static final long XK_Q =
0x051 ;
public static final long XK_R =
0x052 ;
public static final long XK_S =
0x053 ;
public static final long XK_T =
0x054 ;
public static final long XK_U =
0x055 ;
public static final long XK_V =
0x056 ;
public static final long XK_W =
0x057 ;
public static final long XK_X =
0x058 ;
public static final long XK_Y =
0x059 ;
public static final long XK_Z =
0x05a ;
public static final long XK_grave =
0x060 ;
public static final long XK_quoteleft =
0x060 ;
/* deprecated */ public static final long XK_a =
0x061 ;
public static final long XK_b =
0x062 ;
public static final long XK_c =
0x063 ;
public static final long XK_d =
0x064 ;
public static final long XK_e =
0x065 ;
public static final long XK_f =
0x066 ;
public static final long XK_g =
0x067 ;
public static final long XK_h =
0x068 ;
public static final long XK_i =
0x069 ;
public static final long XK_j =
0x06a ;
public static final long XK_k =
0x06b ;
public static final long XK_l =
0x06c ;
public static final long XK_m =
0x06d ;
public static final long XK_n =
0x06e ;
public static final long XK_o =
0x06f ;
public static final long XK_p =
0x070 ;
public static final long XK_q =
0x071 ;
public static final long XK_r =
0x072 ;
public static final long XK_s =
0x073 ;
public static final long XK_t =
0x074 ;
public static final long XK_u =
0x075 ;
public static final long XK_v =
0x076 ;
public static final long XK_w =
0x077 ;
public static final long XK_x =
0x078 ;
public static final long XK_y =
0x079 ;
public static final long XK_z =
0x07a ;
public static final long XK_bar =
0x07c ;
public static final long XK_cent =
0x0a2 ;
public static final long XK_yen =
0x0a5 ;
public static final long XK_guillemotleft =
0x0ab ;
/* left angle quotation mark */ public static final long XK_acute =
0x0b4 ;
public static final long XK_mu =
0x0b5 ;
public static final long XK_guillemotright =
0x0bb ;
/* right angle quotation mark */ public static final long XK_Aring =
0x0c5 ;
public static final long XK_AE =
0x0c6 ;
public static final long XK_ETH =
0x0d0 ;
public static final long XK_Eth =
0x0d0 ;
/* deprecated */ public static final long XK_THORN =
0x0de ;
public static final long XK_Thorn =
0x0de ;
/* deprecated */ public static final long XK_aring =
0x0e5 ;
public static final long XK_ae =
0x0e6 ;
public static final long XK_eth =
0x0f0 ;
public static final long XK_thorn =
0x0fe ;
/*
* Latin 2
* Byte 3 = 1
*/
public static final long XK_breve =
0x1a2 ;
public static final long XK_caron =
0x1b7 ;
public static final long XK_Uring =
0x1d9 ;
public static final long XK_uring =
0x1f9 ;
/*
* Latin 3
* Byte 3 = 2
*/
/*
* Latin 4
* Byte 3 = 3
*/
public static final long XK_kra =
0x3a2 ;
public static final long XK_kappa =
0x3a2 ;
/* deprecated */ public static final long XK_ENG =
0x3bd ;
public static final long XK_eng =
0x3bf ;
/*
* Latin-9 (a.k.a. Latin-0)
* Byte 3 = 19
*/
public static final long XK_OE =
0x13bc ;
public static final long XK_oe =
0x13bd ;
/*
* Katakana
* Byte 3 = 4
*/
public static final long XK_kana_tu =
0x4af ;
/* deprecated */ public static final long XK_kana_TI =
0x4c1 ;
/* deprecated */ public static final long XK_kana_TU =
0x4c2 ;
/* deprecated */ public static final long XK_kana_HU =
0x4cc ;
/* deprecated */ public static final long XK_kana_switch =
0xFF7E ;
/* Alias for mode_switch */
/*
* Arabic
* Byte 3 = 5
*/
public static final long XK_Arabic_heh =
0x5e7 ;
/* deprecated */ public static final long XK_Arabic_switch =
0xFF7E ;
/* Alias for mode_switch */
/*
* Cyrillic
* Byte 3 = 6
*/
public static final long XK_Ukranian_i =
0x6a6 ;
/* deprecated */ public static final long XK_Serbian_je =
0x6a8 ;
/* deprecated */ public static final long XK_Ukranian_I =
0x6b6 ;
/* deprecated */ public static final long XK_Serbian_JE =
0x6b8 ;
/* deprecated */
/*
* Greek
* Byte 3 = 7
*/
public static final long XK_Greek_switch =
0xFF7E ;
/* Alias for mode_switch */
/*
* Technical
* Byte 3 = 8
*/
public static final long XK_nabla =
0x8c5 ;
public static final long XK_union =
0x8dd ;
/*
* Special
* Byte 3 = 9
*/
public static final long XK_blank =
0x9df ;
public static final long XK_ht =
0x9e2 ;
public static final long XK_ff =
0x9e3 ;
public static final long XK_cr =
0x9e4 ;
public static final long XK_lf =
0x9e5 ;
public static final long XK_nl =
0x9e8 ;
public static final long XK_vt =
0x9e9 ;
public static final long XK_leftt =
0x9f4 ;
public static final long XK_bott =
0x9f6 ;
public static final long XK_topt =
0x9f7 ;
/*
* Publishing
* Byte 3 = a
*/
public static final long XK_club =
0xaec ;
public static final long XK_heart =
0xaee ;
public static final long XK_caret =
0xafc ;
/*
* APL
* Byte 3 = b
*/
public static final long XK_jot =
0xbca ;
public static final long XK_quad =
0xbcc ;
/*
* Hebrew
* Byte 3 = c
*/
public static final long XK_hebrew_het =
0xce7 ;
/* deprecated */ public static final long XK_hebrew_kuf =
0xcf7 ;
/* deprecated */ public static final long XK_hebrew_taf =
0xcfa ;
/* deprecated */ public static final long XK_Hebrew_switch =
0xFF7E ;
/* Alias for mode_switch */
/*
* Thai
* Byte 3 = d
*/
/*
* Korean
* Byte 3 = e
*/
public static final long XK_Hangul_End =
0xff33 ;
/* Hangul end, English start */ public static final long XK_Hangul_Hanja =
0xff34 ;
/* Start Hangul->Hanja Conversion */ public static final long XK_Hangul_Jamo =
0xff35 ;
/* Hangul Jamo mode */ public static final long XK_Hangul_switch =
0xFF7E ;
/* Alias for mode_switch */
/* Hangul Consonant Characters */
/* Hangul Vowel Characters */
/* Hangul syllable-final (JongSeong) Characters */
/* Ancient Hangul Consonant Characters */
/* Ancient Hangul Vowel Characters */
/* Ancient Hangul syllable-final (JongSeong) Characters */
/* Korean currency symbol */
public static final long apXK_Copy =
0x1000FF02;
public static final long apXK_Cut =
0x1000FF03;
public static final long DXK_tilde =
0x1000FE7E;
public static final long hpXK_User =
0x1000FF6E;
public static final long hpXK_lira =
0x100000AF;
public static final long hpXK_IO =
0x100000EE;
public static final long osfXK_Cut =
0x1004FF03;
public static final long osfXK_Up =
0x1004FF52;
public static final long SunXK_F36 =
0x1005FF10;
/* Labeled F11 */ public static final long SunXK_F37 =
0x1005FF11;
/* Labeled F12 */
public static final long SunXK_Compose =
0x0000FF20;
/* Same as XK_Multi_key */ public static final long SunXK_AltGraph =
0x0000FF7E;
/* Same as XK_Mode_switch */
public static final long SunXK_PageUp =
0x0000FF55;
/* Same as XK_Prior */ public static final long SunXK_PageDown =
0x0000FF56;
/* Same as XK_Next */
public static final long SunXK_Undo =
0x0000FF65;
/* Same as XK_Undo */ public static final long SunXK_Again =
0x0000FF66;
/* Same as XK_Redo */ public static final long SunXK_Find =
0x0000FF68;
/* Same as XK_Find */ public static final long SunXK_Stop =
0x0000FF69;
/* Same as XK_Cancel */ public static final long SunXK_Cut =
0x1005FF75;
}