rt-sim-training-client/src/jmapNew/config/keyboardEvents.js

19 lines
1.2 KiB
JavaScript

export const keyboardEvents = {
Z: {altKey:false, ctrlKey:true, shiftKey:false, event: 'Ctrl_Z'}, // 绘图撤销
Y: {altKey:false, ctrlKey:true, shiftKey:false, event: 'Ctrl_Y'}, // 绘图恢复
DELETE: {altKey:false, ctrlKey:false, shiftKey:false, event: 'Delete'}, // 快捷删除绘图元素
ENTER: {altKey:false, ctrlKey:false, shiftKey:false, event: 'Update'}, // 快捷修改绘图元素
ALT_W: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_W'},
ALT_T: {alkKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_T'},
ALT_G: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_G'},
ALT_R: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_R'},
ALT_V: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_V'},
ALT_A: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_A'},
ALT_O: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_O'},
ALT_E: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_E'},
ALT_S: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_S'},
ALT_D: {altKey: true, ctrlKey: false, shiftKey: false, event: 'Alt_D'},
TAB: {altKey: false, ctrlKey: false, shiftKey: false, event: 'Tab'}
};