DRC | c5dc038 | 2011-05-13 21:42:14 +0000 | [diff] [blame^] | 1 | /* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. |
| 2 | * |
| 3 | * This is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by |
| 5 | * the Free Software Foundation; either version 2 of the License, or |
| 6 | * (at your option) any later version. |
| 7 | * |
| 8 | * This software is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this software; if not, write to the Free Software |
| 15 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
| 16 | * USA. |
| 17 | */ |
| 18 | |
| 19 | // |
| 20 | // Keysyms - defines X keysyms for non-character keys. All keysyms |
| 21 | // corresponding to characters should be generated by calling |
| 22 | // UnicodeToKeysym.translate(). |
| 23 | // |
| 24 | |
| 25 | package com.tigervnc.rfb; |
| 26 | |
| 27 | public class Keysyms { |
| 28 | |
| 29 | public static final int BackSpace = 0xFF08; |
| 30 | public static final int Tab = 0xFF09; |
| 31 | public static final int Linefeed = 0xFF0A; |
| 32 | public static final int Clear = 0xFF0B; |
| 33 | public static final int Return = 0xFF0D; |
| 34 | public static final int Pause = 0xFF13; |
| 35 | public static final int Scroll_Lock = 0xFF14; |
| 36 | public static final int Sys_Req = 0xFF15; |
| 37 | public static final int Escape = 0xFF1B; |
| 38 | public static final int Delete = 0xFFFF; |
| 39 | |
| 40 | public static final int Home = 0xFF50; |
| 41 | public static final int Left = 0xFF51; |
| 42 | public static final int Up = 0xFF52; |
| 43 | public static final int Right = 0xFF53; |
| 44 | public static final int Down = 0xFF54; |
| 45 | public static final int Prior = 0xFF55; |
| 46 | public static final int Page_Up = 0xFF55; |
| 47 | public static final int Next = 0xFF56; |
| 48 | public static final int Page_Down = 0xFF56; |
| 49 | public static final int End = 0xFF57; |
| 50 | public static final int Begin = 0xFF58; |
| 51 | |
| 52 | public static final int Select = 0xFF60; |
| 53 | public static final int Print = 0xFF61; |
| 54 | public static final int Execute = 0xFF62; |
| 55 | public static final int Insert = 0xFF63; |
| 56 | public static final int Undo = 0xFF65; |
| 57 | public static final int Redo = 0xFF66; |
| 58 | public static final int Menu = 0xFF67; |
| 59 | public static final int Find = 0xFF68; |
| 60 | public static final int Cancel = 0xFF69; |
| 61 | public static final int Help = 0xFF6A; |
| 62 | public static final int Break = 0xFF6B; |
| 63 | public static final int Mode_switch = 0xFF7E; |
| 64 | public static final int script_switch = 0xFF7E; |
| 65 | public static final int Num_Lock = 0xFF7F; |
| 66 | |
| 67 | public static final int F1 = 0xFFBE; |
| 68 | public static final int F2 = 0xFFBF; |
| 69 | public static final int F3 = 0xFFC0; |
| 70 | public static final int F4 = 0xFFC1; |
| 71 | public static final int F5 = 0xFFC2; |
| 72 | public static final int F6 = 0xFFC3; |
| 73 | public static final int F7 = 0xFFC4; |
| 74 | public static final int F8 = 0xFFC5; |
| 75 | public static final int F9 = 0xFFC6; |
| 76 | public static final int F10 = 0xFFC7; |
| 77 | public static final int F11 = 0xFFC8; |
| 78 | public static final int F12 = 0xFFC9; |
| 79 | |
| 80 | public static final int Shift_L = 0xFFE1; |
| 81 | public static final int Shift_R = 0xFFE2; |
| 82 | public static final int Control_L = 0xFFE3; |
| 83 | public static final int Control_R = 0xFFE4; |
| 84 | public static final int Meta_L = 0xFFE7; |
| 85 | public static final int Meta_R = 0xFFE8; |
| 86 | public static final int Alt_L = 0xFFE9; |
| 87 | public static final int Alt_R = 0xFFEA; |
| 88 | } |