Add help text to the tabs of the keyeditor. #22

This commit is contained in:
Arpad Csanyi
2016-05-07 20:47:20 +02:00
parent 67127fbced
commit 862a5fdf7d
2 changed files with 11 additions and 1 deletions

View File

@@ -230,36 +230,42 @@ $(function() {
type: 'primary',
icon: 'fa-keyboard-o',
title: 'Keypress',
titleHelp: 'Send a scancode with optional modifiers to the host',
content: 'keypress'
},
{
type: 'default',
icon: 'fa-clone', // The icon for the tab will be a layer icon in svg. But for the mockup it was easier to just use something similar from fontawesome.
title: 'Layer',
titleHelp: 'Activate or toggle the layers',
content: 'layer'
},
{
type: 'default',
icon: 'fa-mouse-pointer',
title: 'Mouse',
titleHelp: 'Set up mouse movement, clicking, and scrolling',
content: 'mouse'
},
{
type: 'default',
icon: 'fa-play',
title: 'Macro',
titleHelp: 'Play a macro',
content: 'macro'
},
{
type: 'default',
icon: 'fa-keyboard-o',
title: 'Keymap',
titleHelp: 'Switch to an other keymap',
content: 'switchKeymap'
},
{
type: 'default',
icon: 'fa-ban',
title: 'None',
titleHelp: 'Do nothing when this key is pressed',
content: 'none'
}
]