mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181 lines
4.0 KiB
181 lines
4.0 KiB
//
|
|
// KeyDef.h
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "Keydef.h"
|
|
|
|
|
|
const ExtKeyDef gaDefaultKeyDef['Z' - 'A' + 1] = {
|
|
{ // A
|
|
0, VK_HOME, 0, // Ctrl
|
|
LEFT_CTRL_PRESSED, VK_HOME, 0, // Alt
|
|
0, 0, 0, // Ctrl+Alt
|
|
},
|
|
{ // B
|
|
0, VK_LEFT, 0, // Ctrl
|
|
LEFT_CTRL_PRESSED, VK_LEFT, 0, // Alt
|
|
},
|
|
{ // C
|
|
0,
|
|
},
|
|
{ // D
|
|
0, VK_DELETE, 0, // Ctrl
|
|
LEFT_CTRL_PRESSED, VK_DELETE, 0, // Alt
|
|
0, 0, 0, // Ctrl+Alt
|
|
},
|
|
{ // E
|
|
0, VK_END, 0, // Ctrl
|
|
LEFT_CTRL_PRESSED, VK_END, 0, // Alt
|
|
0, 0, 0, // Ctrl+Alt
|
|
},
|
|
{ // F
|
|
0, VK_RIGHT, 0, // Ctrl
|
|
LEFT_CTRL_PRESSED, VK_RIGHT, 0, // Alt
|
|
0, 0, 0, // Ctrl+Alt
|
|
},
|
|
{ // G
|
|
0,
|
|
},
|
|
{ // H
|
|
0,
|
|
},
|
|
{ // I
|
|
LEFT_CTRL_PRESSED, _T('I'), 0, // Ctrl
|
|
},
|
|
{ // J
|
|
0,
|
|
},
|
|
{ // K
|
|
LEFT_CTRL_PRESSED, VK_END, 0, // Ctrl
|
|
},
|
|
{ // L
|
|
0,
|
|
},
|
|
{ // M
|
|
0,
|
|
},
|
|
{ // N
|
|
0, VK_DOWN, 0, // Ctrl
|
|
},
|
|
{ // O
|
|
0,
|
|
},
|
|
{ // P
|
|
0, VK_UP, 0, // Ctrl
|
|
},
|
|
{ // Q
|
|
0,
|
|
},
|
|
{ // R
|
|
0, VK_F8, 0, // Ctrl
|
|
},
|
|
{ // S
|
|
0, VK_PAUSE, 0, // Ctrl
|
|
},
|
|
{ // T
|
|
LEFT_CTRL_PRESSED, VK_DELETE, 0, // Ctrl
|
|
},
|
|
{ // U
|
|
0, VK_ESCAPE, 0, // Ctrl
|
|
},
|
|
{ // V
|
|
0,
|
|
},
|
|
{ // W
|
|
LEFT_CTRL_PRESSED, VK_BACK, 0x7f, // Ctrl
|
|
},
|
|
{ // X
|
|
0,
|
|
},
|
|
{ // Y
|
|
0,
|
|
},
|
|
{ // Z
|
|
0,
|
|
},
|
|
};
|
|
|
|
const ExtKeyDef gaDefaultKeyDef2['Z' - 'A' + 1] = {
|
|
{ // A
|
|
LEFT_CTRL_PRESSED, VK_LEFT, 0, // Ctrl
|
|
0, 0, 0, // Alt
|
|
0, 0, 0, // Ctrl+Alt
|
|
},
|
|
{ // B
|
|
0, VK_HOME, 0, // Ctrl
|
|
},
|
|
{ // C
|
|
0,
|
|
},
|
|
{ // D
|
|
0, VK_RIGHT, 0, // Ctrl
|
|
},
|
|
{ // E
|
|
0, VK_UP, 0, // Ctrl
|
|
},
|
|
{ // F
|
|
LEFT_CTRL_PRESSED, VK_RIGHT, 0, // Ctrl
|
|
},
|
|
{ // G
|
|
0, VK_DELETE, 0, // Ctrl
|
|
},
|
|
{ // H
|
|
0,
|
|
},
|
|
{ // I
|
|
0,
|
|
},
|
|
{ // J
|
|
0, VK_PAUSE, 0, // Ctrl
|
|
},
|
|
{ // K
|
|
LEFT_CTRL_PRESSED, VK_END, 0, // Ctrl
|
|
},
|
|
{ // L
|
|
0,
|
|
},
|
|
{ // M
|
|
0,
|
|
},
|
|
{ // N
|
|
0, VK_DOWN, 0, // Ctrl
|
|
},
|
|
{ // O
|
|
0,
|
|
},
|
|
{ // P
|
|
0, VK_UP, 0, // Ctrl
|
|
},
|
|
{ // Q
|
|
0, VK_END, 0, // Ctrl
|
|
},
|
|
{ // R
|
|
0, VK_F8, 0, // Ctrl
|
|
},
|
|
{ // S
|
|
0, VK_LEFT, 0, // Ctrl
|
|
},
|
|
{ // T
|
|
LEFT_CTRL_PRESSED, VK_DELETE, 0, // Ctrl
|
|
},
|
|
{ // U
|
|
0, VK_ESCAPE, 0, // Ctrl
|
|
},
|
|
{ // V
|
|
0, VK_PAUSE, 0, // Ctrl
|
|
},
|
|
{ // W
|
|
LEFT_CTRL_PRESSED, VK_BACK, 0x7f, // Ctrl
|
|
},
|
|
{ // X
|
|
0, VK_DOWN, 0, // Ctrl
|
|
},
|
|
{ // Y
|
|
0, VK_ESCAPE, 0, // Ctrl
|
|
},
|
|
{ // Z
|
|
0,
|
|
},
|
|
};
|
|
|