mirror of
https://github.com/mpv-player/mpv
synced 2024-11-11 00:15:33 +01:00
96edd8cb52
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3491 b3059339-0415-0410-9bf9-f77b7e298cf2
108 lines
2.3 KiB
C
108 lines
2.3 KiB
C
|
|
#ifndef _MY_WSKEY
|
|
#define _MY_WSKEY
|
|
|
|
#define wsosbrackets '['
|
|
#define wscsbrackets ']'
|
|
|
|
#define wsq 'q'
|
|
#define wsa 'a'
|
|
#define wsz 'z'
|
|
#define wsw 'w'
|
|
#define wss 's'
|
|
#define wsx 'x'
|
|
#define wse 'e'
|
|
#define wsd 'd'
|
|
#define wsr 'r'
|
|
#define wsf 'f'
|
|
#define wsv 'v'
|
|
#define wst 't'
|
|
#define wsg 'g'
|
|
#define wsb 'b'
|
|
#define wsy 'y'
|
|
#define wsh 'h'
|
|
#define wsn 'n'
|
|
#define wsu 'u'
|
|
#define wsj 'j'
|
|
#define wsm 'm'
|
|
#define wsi 'i'
|
|
#define wsk 'k'
|
|
#define wso 'o'
|
|
#define wsl 'l'
|
|
#define wsp 'p'
|
|
|
|
#define wsQ 'Q'
|
|
#define wsA 'A'
|
|
#define wsZ 'Z'
|
|
#define wsW 'W'
|
|
#define wsS 'S'
|
|
#define wsX 'X'
|
|
#define wsE 'E'
|
|
#define wsD 'D'
|
|
#define wsR 'R'
|
|
#define wsF 'F'
|
|
#define wsV 'V'
|
|
#define wsT 'T'
|
|
#define wsG 'G'
|
|
#define wsB 'B'
|
|
#define wsY 'Y'
|
|
#define wsH 'H'
|
|
#define wsN 'N'
|
|
#define wsU 'U'
|
|
#define wsJ 'J'
|
|
#define wsM 'M'
|
|
#define wsI 'I'
|
|
#define wsK 'K'
|
|
#define wsO 'O'
|
|
#define wsL 'L'
|
|
#define wsP 'P'
|
|
|
|
#define wsSpace ' '
|
|
#define wsMinus '-'
|
|
#define wsPlus '+'
|
|
#define wsMul '*'
|
|
#define wsDiv '/'
|
|
#define wsLess '<'
|
|
#define wsMore '>'
|
|
|
|
#define wsUp 0x52 + 256
|
|
#define wsDown 0x54 + 256
|
|
#define wsLeft 0x51 + 256
|
|
#define wsRight 0x53 + 256
|
|
#define wsLeftCtrl 0xe3 + 256
|
|
#define wsRightCtrl 0xe4 + 256
|
|
#define wsLeftAlt 0xe9 + 256
|
|
#define wsRightAlt 0x7e + 256
|
|
#define wsLeftShift 0xe1 + 256
|
|
#define wsRightShift 0xe2 + 256
|
|
#define wsEnter 0x0d + 256
|
|
#define wsBackSpace 0x08 + 256
|
|
#define wsCapsLock 0xe5 + 256
|
|
#define wsTab 0x09 + 256
|
|
#define wsF1 0xbe + 256
|
|
#define wsF2 0xbf + 256
|
|
#define wsF3 0xc0 + 256
|
|
#define wsF4 0xc1 + 256
|
|
#define wsF5 0xc2 + 256
|
|
#define wsF6 0xc3 + 256
|
|
#define wsF7 0xc4 + 256
|
|
#define wsF8 0xc5 + 256
|
|
#define wsF9 0xc6 + 256
|
|
#define wsF10 0xc7 + 256
|
|
#define wsInsert 0x63 + 256
|
|
#define wsDelete 0xff + 256
|
|
#define wsHome 0x50 + 256
|
|
#define wsEnd 0x57 + 256
|
|
#define wsPageUp 0x55 + 256
|
|
#define wsPageDown 0x56 + 256
|
|
#define wsNumLock 0x7f + 256
|
|
#define wsEscape 0x1b + 256
|
|
#define wsGrayEnter 0x8d + 256
|
|
#define wsGrayPlus 0xab + 256
|
|
#define wsGrayMinus 0xad + 256
|
|
#define wsGrayMul 0xaa + 256
|
|
#define wsGrayDiv 0xaf + 256
|
|
|
|
#endif
|
|
|