Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve some keycode picker labels #1383

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions src/store/modules/keycodes/ansi.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export default [
{ name: 'End', code: 'KC_END', keys: 'end' },
{ name: 'Page Down', code: 'KC_PGDN', keys: 'pagedown' },
{ width: 250 },
{ name: '7', code: 'KC_P7', keys: 'num_7' },
{ name: '8', code: 'KC_P8', keys: 'num_8' },
{ name: '9', code: 'KC_P9', keys: 'num_9' },
{ name: '7\nHome', code: 'KC_P7', keys: 'num_7' },
{ name: '8\n⏶', code: 'KC_P8', keys: 'num_8' },
{ name: '9\nPgUp', code: 'KC_P9', keys: 'num_9' },
{ name: '+', code: 'KC_PPLS', keys: 'num_add' },
{ width: 0 },

Expand All @@ -85,11 +85,11 @@ export default [
{ name: 'l', code: 'KC_L', keys: 'l' },
{ name: ':\n;', code: 'KC_SCLN', keys: ';' },
{ name: '"\n\'', code: 'KC_QUOT', keys: "'" },
{ name: 'Enter', code: 'KC_ENT', keys: 'enter', width: 2250 },
{ name: 'Enter\n↵', code: 'KC_ENT', keys: 'enter', width: 2250 },
{ width: 3500 },
{ name: '4', code: 'KC_P4', keys: 'num_4' },
{ name: '4\n⏴', code: 'KC_P4', keys: 'num_4' },
{ name: '5', code: 'KC_P5', keys: 'num_5' },
{ name: '6', code: 'KC_P6', keys: 'num_6' },
{ name: '6\n⏵', code: 'KC_P6', keys: 'num_6' },
{ name: ',', code: 'KC_PCMM' },
{ width: 0 },

Expand All @@ -106,29 +106,29 @@ export default [
{ name: '?\n/', code: 'KC_SLSH', keys: '/' },
{ name: 'Right Shift', code: 'KC_RSFT', width: 2750 },
{ width: 1250 },
{ name: 'Up', code: 'KC_UP', keys: 'up' },
{ name: '', code: 'KC_UP', keys: 'up' },
{ width: 1250 },
{ name: '1', code: 'KC_P1', keys: 'num_1' },
{ name: '2', code: 'KC_P2', keys: 'num_2' },
{ name: '3', code: 'KC_P3', keys: 'num_3' },
{ name: '1\nEnd', code: 'KC_P1', keys: 'num_1' },
{ name: '2\n⏷', code: 'KC_P2', keys: 'num_2' },
{ name: '3\nPgDn', code: 'KC_P3', keys: 'num_3' },
{ name: '=', code: 'KC_PEQL' },
{ width: 0 },

{ name: 'Left Ctrl', code: 'KC_LCTL', keys: 'ctrl', width: 1250 },
{ name: 'Left OS', code: 'KC_LGUI', keys: 'cmd', width: 1250 },
{ name: 'Left GUI', code: 'KC_LGUI', keys: 'cmd', width: 1250 },
{ name: 'Left Alt', code: 'KC_LALT', keys: 'alt', width: 1250 },
{ name: 'Space', code: 'KC_SPC', keys: 'space', width: 6250 },
{ name: 'Right Alt', code: 'KC_RALT', width: 1250 },
{ name: 'Right OS', code: 'KC_RGUI', width: 1250 },
{ name: 'Menu', code: 'KC_APP', title: 'Context Menu', width: 1250 },
{ name: 'Right GUI', code: 'KC_RGUI', width: 1250 },
{ name: '', code: 'KC_APP', title: 'Context Menu', width: 1250 },
{ name: 'Right Ctrl', code: 'KC_RCTL', width: 1250 },
{ width: 250 },
{ name: 'Left', code: 'KC_LEFT', keys: 'left' },
{ name: 'Down', code: 'KC_DOWN', keys: 'down' },
{ name: 'Right', code: 'KC_RGHT', keys: 'right' },
{ name: '', code: 'KC_LEFT', keys: 'left' },
{ name: '', code: 'KC_DOWN', keys: 'down' },
{ name: '', code: 'KC_RGHT', keys: 'right' },
{ width: 250 },
{ name: '0', code: 'KC_P0', keys: 'num_0', width: 2000 },
{ name: '.', code: 'KC_PDOT', keys: 'num_decimal' },
{ name: '0\nIns', code: 'KC_P0', keys: 'num_0', width: 2000 },
{ name: '.\nDel', code: 'KC_PDOT', keys: 'num_decimal' },
{ name: 'Enter', code: 'KC_PENT', keys: 'num_enter' },

{ label: 'Shifted symbols', width: 'label' },
Expand Down
26 changes: 13 additions & 13 deletions src/store/modules/keycodes/app-media-mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,21 @@ export default [

{ label: 'Multimedia Keys', width: 'label' },

{ name: 'Previous', code: 'KC_MPRV', title: 'Previous Track' },
{ name: 'Prev', code: 'KC_MPRV', title: 'Previous Track' },
{ name: 'Next', code: 'KC_MNXT', title: 'Next Track' },
{ name: 'Mute', code: 'KC_MUTE', title: 'Mute Audio' },
{ name: 'Vol -', code: 'KC_VOLD', title: 'Volume Down' },
{ name: 'Vol +', code: 'KC_VOLU', title: 'Volume Up' },
{ name: 'Vol ', code: 'KC_VOLD', title: 'Volume Down' },
{ name: 'Vol ', code: 'KC_VOLU', title: 'Volume Up' },
{ name: 'Media Stop', code: 'KC_MSTP', title: 'Media Stop' },
{ name: 'Play', code: 'KC_MPLY', title: 'Play/Pause' },
{ width: 250 },
{
name: 'Prev Track',
name: 'Rewind',
code: 'KC_MRWD',
title: 'Previous Track / Rewind (macOS)'
},
{
name: 'Next Track',
name: 'FFwd',
code: 'KC_MFFD',
title: 'Next Track / Fast Forward (macOS)'
},
Expand All @@ -125,21 +125,21 @@ export default [

{ label: 'Mouse Keys', width: 'label' },

{ name: 'Mouse Up', code: 'KC_MS_U', title: 'Mouse Cursor Up' },
{ name: 'Mouse Down', code: 'KC_MS_D', title: 'Mouse Cursor Down' },
{ name: 'Mouse Left', code: 'KC_MS_L', title: 'Mouse Cursor Left' },
{ name: 'Mouse Right', code: 'KC_MS_R', title: 'Mouse Cursor Right' },
{ name: 'Mouse ', code: 'KC_MS_U', title: 'Mouse Cursor Up' },
{ name: 'Mouse ', code: 'KC_MS_D', title: 'Mouse Cursor Down' },
{ name: 'Mouse ', code: 'KC_MS_L', title: 'Mouse Cursor Left' },
{ name: 'Mouse ', code: 'KC_MS_R', title: 'Mouse Cursor Right' },
{ width: 250 },
{ name: 'Mouse 1', code: 'KC_BTN1', title: 'Mouse Button 1' },
{ name: 'Mouse 2', code: 'KC_BTN2', title: 'Mouse Button 2' },
{ name: 'Mouse 3', code: 'KC_BTN3', title: 'Mouse Button 3' },
{ name: 'Mouse 4', code: 'KC_BTN4', title: 'Mouse Button 4' },
{ name: 'Mouse 5', code: 'KC_BTN5', title: 'Mouse Button 5' },
{ width: 250 },
{ name: 'Mouse Wheel Up', code: 'KC_WH_U', title: 'Mouse Wheel Up' },
{ name: 'Mouse Wheel Down', code: 'KC_WH_D', title: 'Mouse Wheel Down' },
{ name: 'Mouse Wheel Left', code: 'KC_WH_L', title: 'Mouse Wheel Left' },
{ name: 'Mouse Wheel Right', code: 'KC_WH_R', title: 'Mouse Wheel Right' },
{ name: 'Mouse Wheel ', code: 'KC_WH_U', title: 'Mouse Wheel Up' },
{ name: 'Mouse Wheel ', code: 'KC_WH_D', title: 'Mouse Wheel Down' },
{ name: 'Mouse Wheel ', code: 'KC_WH_L', title: 'Mouse Wheel Left' },
{ name: 'Mouse Wheel ', code: 'KC_WH_R', title: 'Mouse Wheel Right' },
{ width: 250 },
{
name: 'Mouse Accel 0',
Expand Down
36 changes: 18 additions & 18 deletions src/store/modules/keycodes/iso-jis.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export default [
{ name: 'End', code: 'KC_END', keys: 'end' },
{ name: 'Page Down', code: 'KC_PGDN', keys: 'pagedown' },
{ width: 250 },
{ name: '7', code: 'KC_P7', keys: 'num_7' },
{ name: '8', code: 'KC_P8', keys: 'num_8' },
{ name: '9', code: 'KC_P9', keys: 'num_9' },
{ name: '7\nHome', code: 'KC_P7', keys: 'num_7' },
{ name: '8\n⏶', code: 'KC_P8', keys: 'num_8' },
{ name: '9\nPgUp', code: 'KC_P9', keys: 'num_9' },
{ name: '+', code: 'KC_PPLS', keys: 'num_add' },
{ width: 0 },

Expand All @@ -89,16 +89,16 @@ export default [
{ name: '~\n#', code: 'KC_NUHS', title: 'Non-US # and ~' },
{ width: 1250 },
{
name: 'Enter',
name: 'Enter\n↵',
code: 'KC_ENT',
keys: 'enter',
classes: 'isoenter',
width: 1250
},
{ width: 3500 },
{ name: '4', code: 'KC_P4', keys: 'num_4' },
{ name: '4\n⏴', code: 'KC_P4', keys: 'num_4' },
{ name: '5', code: 'KC_P5', keys: 'num_5' },
{ name: '6', code: 'KC_P6', keys: 'num_6' },
{ name: '6\n⏵', code: 'KC_P6', keys: 'num_6' },
{ name: ',', code: 'KC_PCMM' },
{ width: 0 },

Expand All @@ -117,16 +117,16 @@ export default [
{ name: '_\n\\', code: 'KC_INT1', title: 'JIS \\ and _' },
{ name: 'Right Shift', code: 'KC_RSFT', width: 1750 },
{ width: 1250 },
{ name: 'Up', code: 'KC_UP', keys: 'up' },
{ name: '', code: 'KC_UP', keys: 'up' },
{ width: 1250 },
{ name: '1', code: 'KC_P1', keys: 'num_1' },
{ name: '2', code: 'KC_P2', keys: 'num_2' },
{ name: '3', code: 'KC_P3', keys: 'num_3' },
{ name: '1\nEnd', code: 'KC_P1', keys: 'num_1' },
{ name: '2\n⏷', code: 'KC_P2', keys: 'num_2' },
{ name: '3\nPgDn', code: 'KC_P3', keys: 'num_3' },
{ name: '=', code: 'KC_PEQL' },
{ width: 0 },

{ name: 'Left Ctrl', code: 'KC_LCTL', keys: 'ctrl', width: 1250 },
{ name: 'Left OS', code: 'KC_LGUI', keys: 'cmd', width: 1250 },
{ name: 'Left GUI', code: 'KC_LGUI', keys: 'cmd', width: 1250 },
{ name: 'Left Alt', code: 'KC_LALT', keys: 'alt', width: 1250 },
{ name: '無変換', code: 'KC_INT5', title: 'JIS Muhenkan', width: 1250 },
{ name: 'Space', code: 'KC_SPC', keys: 'space', width: 3000 },
Expand All @@ -139,16 +139,16 @@ export default [
width: 1250
},
{ name: 'Alt Gr', code: 'KC_RALT' },
{ name: 'Right OS', code: 'KC_RGUI', width: 1250 },
{ name: 'Menu', code: 'KC_APP', title: 'Context Menu' },
{ name: 'Right GUI', code: 'KC_RGUI', width: 1250 },
{ name: '', code: 'KC_APP', title: 'Context Menu' },
{ name: 'Right Ctrl', code: 'KC_RCTL', width: 1250 },
{ width: 250 },
{ name: 'Left', code: 'KC_LEFT', keys: 'left' },
{ name: 'Down', code: 'KC_DOWN', keys: 'down' },
{ name: 'Right', code: 'KC_RGHT', keys: 'right' },
{ name: '', code: 'KC_LEFT', keys: 'left' },
{ name: '', code: 'KC_DOWN', keys: 'down' },
{ name: '', code: 'KC_RGHT', keys: 'right' },
{ width: 250 },
{ name: '0', code: 'KC_P0', keys: 'num_0', width: 2000 },
{ name: '.', code: 'KC_PDOT', keys: 'num_decimal' },
{ name: '0\nIns', code: 'KC_P0', keys: 'num_0', width: 2000 },
{ name: '.\nDel', code: 'KC_PDOT', keys: 'num_decimal' },
{ name: 'Enter', code: 'KC_PENT', keys: 'num_enter' },

{ label: 'Japanese and Korean', width: 'label' },
Expand Down
Loading
Loading