From 29c37de4372281e1c9b83fa7ea693f9a4ca7fd17 Mon Sep 17 00:00:00 2001 From: Jun Wako Date: Wed, 13 Jan 2016 12:43:22 +0900 Subject: [PATCH] Fix keycodes for Unix function keys --- editor/common/keymap_editor.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/editor/common/keymap_editor.js b/editor/common/keymap_editor.js index 1de4f11f..243a28e5 100644 --- a/editor/common/keymap_editor.js +++ b/editor/common/keymap_editor.js @@ -438,7 +438,7 @@ var keycodes = [ {id: 'P0 ', name: 'P0', desc: 'Keypad 0'}, {id: 'PDOT', name: 'P.', desc: 'Keypad Dot'}, {id: 'NUBS', name: 'ISO \\', desc: 'Non-US Backslash'}, - {id: 'APP ', name: 'Application', desc: 'Application'}, + {id: 'APP ', name: 'Application', desc: 'Menu on Windows'}, {id: 'POWER', name: '_Power', desc: 'Power(Not work on Windows)'}, {id: 'PEQL', name: 'P=', desc: 'Keymapd Equal'}, {id: 'F13 ', name: 'F13', desc: 'F13'}, @@ -453,17 +453,17 @@ var keycodes = [ {id: 'F22 ', name: 'F22', desc: 'F22'}, {id: 'F23 ', name: 'F23', desc: 'F23'}, {id: 'F24 ', name: 'F24', desc: 'F24'}, - {id: 'EXECUTE', name: 'EXECUTE', desc: 'EXECUTE'}, - {id: 'HELP', name: 'HELP', desc: 'HELP'}, - {id: 'MENU', name: 'MENU', desc: 'MENU'}, - {id: 'SELECT', name: 'SELECT', desc: 'SELECT'}, - {id: 'STOP', name: 'STOP', desc: 'STOP'}, - {id: 'AGAIN', name: 'AGAIN', desc: 'AGAIN'}, - {id: 'UNDO', name: 'UNDO', desc: 'UNDO'}, - {id: 'CUT', name: 'CUT', desc: 'CUT'}, - {id: 'COPY', name: 'COPY', desc: 'COPY'}, - {id: 'PASTE', name: 'PASTE', desc: 'PASTE'}, - {id: 'FIND', name: 'FIND', desc: 'FIND'}, + {id: 'EXECUTE', name: 'Execute', desc: 'Execute(Unix)'}, + {id: 'HELP', name: 'Help', desc: 'Help(Unix)'}, + {id: 'MENU', name: 'Menu', desc: 'Menu(Unix)'}, + {id: 'SELECT', name: 'Select', desc: 'Select(Unix)'}, + {id: 'STOP', name: 'Stop', desc: 'Stop(Unix)'}, + {id: 'AGAIN', name: 'Again', desc: 'Again(Unix)'}, + {id: 'UNDO', name: 'Undo', desc: 'Undo(Unix)'}, + {id: 'CUT', name: 'Cut', desc: 'Cut(Unix)'}, + {id: 'COPY', name: 'Copy', desc: 'Copy(Unix)'}, + {id: 'PASTE', name: 'Paste', desc: 'Paste(Unix)'}, + {id: 'FIND', name: 'Find', desc: 'Find(Unix)'}, {id: '_MUTE', name: '_MUTE', desc: '_MUTE(Not work on Windows)'}, {id: '_VOLUP', name: '_VOLUP', desc: '_VOLUP(Not work on Windows)'}, {id: '_VOLDOWN', name: '_VOLDOWN', desc: '_VOLDOWN(Not work on Windows)'}, @@ -472,16 +472,16 @@ var keycodes = [ {id: 'LSCR', name: 'Locking Scroll Lock', desc: 'Locking Scroll Lock'}, {id: 'PCMM', name: 'P,', desc: 'Keypad Comma'}, {id: 'KP_EQUAL_AS400', name: 'P= (AS400)', desc: 'Keypad Equal (AS400)'}, - {id: 'INT1', name: '\u308D', desc: 'Japanese RO'}, + {id: 'INT1', name: 'JIS \u308D', desc: 'Japanese RO'}, {id: 'INT2', name: '\u3072\u3089\u304c\u306a', desc: 'Japanese Hiragana'}, - {id: 'INT3', name: '\uffe5', desc: 'Japanese Yen'}, + {id: 'INT3', name: 'JIS \uffe5', desc: 'Japanese Yen'}, {id: 'INT4', name: '\u5909\u63db', desc: 'Japanese Henkan'}, {id: 'INT5', name: '\u7121\u5909\u63db', desc: 'Japanese Muhenkan'}, {id: 'INT6', name: 'INT6', desc: 'INT6'}, {id: 'INT7', name: 'INT7', desc: 'INT7'}, {id: 'INT8', name: 'INT8', desc: 'INT8'}, {id: 'INT9', name: 'INT9', desc: 'INT9'}, - {id: 'LANG1', name: '\ud55c/\uc601', desc: 'Korean Hangul/English'}, + {id: 'LANG1', name: '\ud55c/\uc601', desc: 'Korean Hangul/English'}, {id: 'LANG2', name: '\ud55c\uc790', desc: 'Korean Hanja'}, {id: 'LANG3', name: 'LANG3', desc: 'LANG3'}, {id: 'LANG4', name: 'LANG4', desc: 'LANG4'}, @@ -569,7 +569,7 @@ var keycodes = [ {id: 'FN30', name: 'RShift (`)', desc: 'Right Shift with Grave(Tap key)'}, {id: 'FN31', name: 'RShift (\\)', desc: 'Right Shift with Backslash(Tap key)'}, -/* Standeard codes for 16bit Action 165-223(0xa5-df) +/* Standard codes for 16bit Action 165-223(0xa5-df) {id: 'RESERVED-165', name: 'RESERVED-165', desc: 'RESERVED-165'}, {id: 'RESERVED-166', name: 'RESERVED-166', desc: 'RESERVED-166'}, {id: 'RESERVED-167', name: 'RESERVED-167', desc: 'RESERVED-167'},