Annotation of prex-old/include/prex/keycode.h, Revision 1.1
1.1 ! nbrk 1: /*
! 2: * Copyright (c) 2005, Kohsuke Ohtani
! 3: * All rights reserved.
! 4: *
! 5: * Redistribution and use in source and binary forms, with or without
! 6: * modification, are permitted provided that the following conditions
! 7: * are met:
! 8: * 1. Redistributions of source code must retain the above copyright
! 9: * notice, this list of conditions and the following disclaimer.
! 10: * 2. Redistributions in binary form must reproduce the above copyright
! 11: * notice, this list of conditions and the following disclaimer in the
! 12: * documentation and/or other materials provided with the distribution.
! 13: * 3. Neither the name of the author nor the names of any co-contributors
! 14: * may be used to endorse or promote products derived from this software
! 15: * without specific prior written permission.
! 16: *
! 17: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
! 18: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
! 19: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
! 20: * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
! 21: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
! 22: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
! 23: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
! 24: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
! 25: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
! 26: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
! 27: * SUCH DAMAGE.
! 28: */
! 29:
! 30: /*
! 31: * Hardware independent key code for meta keys
! 32: */
! 33:
! 34: #ifndef _PREX_KEYCODE_H
! 35: #define _PREX_KEYCODE_H
! 36:
! 37: #define K_CTRL 0x80
! 38: #define K_SHFT 0x81
! 39: #define K_ALT 0x82
! 40: #define K_CAPS 0x83
! 41:
! 42: #define K_INS 0x84
! 43: #define K_HOME 0x85
! 44: #define K_END 0x86
! 45: #define K_PGUP 0x87
! 46: #define K_PGDN 0x88
! 47: #define K_UP 0x89
! 48: #define K_DOWN 0x8a
! 49: #define K_LEFT 0x8b
! 50: #define K_RGHT 0x8c
! 51:
! 52: #define K_F1 0x90
! 53: #define K_F2 0x91
! 54: #define K_F3 0x92
! 55: #define K_F4 0x93
! 56: #define K_F5 0x94
! 57: #define K_F6 0x95
! 58: #define K_F7 0x96
! 59: #define K_F8 0x97
! 60: #define K_F9 0x98
! 61: #define K_F10 0x99
! 62: #define K_F11 0x9a
! 63: #define K_F12 0x9b
! 64:
! 65: #endif /* !_PREX_KEYCODE_H */
CVSweb