Remove the concept of disabled hotkeys; it's unnessesary and wasn't actually used

Originally committed to SVN as r5504.
This commit is contained in:
Thomas Goyne 2011-07-26 19:52:15 +00:00
parent acd26c4c48
commit 7deebf759b
4 changed files with 103 additions and 299 deletions

View file

@ -115,16 +115,13 @@ void Hotkey::BuildHotkey(std::string const& context, const json::Object& object)
const json::Array& arr_mod = obj["modifiers"]; const json::Array& arr_mod = obj["modifiers"];
if (arr_mod.Size() > 0) { if (arr_mod.Size() > 0) {
for (json::Array::const_iterator arr_mod_index(arr_mod.Begin()); arr_mod_index != arr_mod.End(); arr_mod_index++) { for (json::Array::const_iterator arr_mod_index(arr_mod.Begin()); arr_mod_index != arr_mod.End(); arr_mod_index++) {
const json::String& key_mod = *arr_mod_index; const json::String& key_mod = *arr_mod_index;
combo.KeyInsert(key_mod.Value()); combo.KeyInsert(key_mod.Value());
} // for arr_mod_index } // for arr_mod_index
} }
combo.KeyInsert(static_cast<const json::String&>(obj["key"]).Value()); combo.KeyInsert(static_cast<const json::String&>(obj["key"]).Value());
combo.Enable(static_cast<const json::Boolean&>(obj["enable"]).Value());
ComboInsert(combo); ComboInsert(combo);
} // for arr_index } // for arr_index
} // for index } // for index
@ -195,7 +192,6 @@ void Hotkey::Flush() {
json::Object hotkey; json::Object hotkey;
hotkey["modifiers"] = modifiers; hotkey["modifiers"] = modifiers;
hotkey["key"] = json::String(combo_map.back()); hotkey["key"] = json::String(combo_map.back());
hotkey["enable"] = json::Boolean(index->second.IsEnabled());
json::Object& context_obj = root[index->second.Context()]; json::Object& context_obj = root[index->second.Context()];
json::Array& combo_array = context_obj[index->second.CmdName()]; json::Array& combo_array = context_obj[index->second.CmdName()];

View file

@ -71,19 +71,10 @@ public:
/// Context this Combo is triggered in. /// Context this Combo is triggered in.
const std::string& Context() const { return context; } const std::string& Context() const { return context; }
/// Enable or disable Combo or "Hotkey".
/// @param e Bool state.
void Enable(bool e) { enable = e; }
/// Check whether Combo is currently enabled or disabled.
/// @return State.
bool IsEnabled() const { return enable; }
private: private:
ComboMap key_map; ///< Map. ComboMap key_map; ///< Map.
const std::string cmd_name; ///< Command name. const std::string cmd_name; ///< Command name.
const std::string context; ///< Context const std::string context; ///< Context
bool enable; ///< Enable/Disable state
/// Insert a key into the ComboMap. /// Insert a key into the ComboMap.
/// @param key Key to insert. /// @param key Key to insert.

View file

@ -405,7 +405,6 @@ END_EVENT_TABLE()
/// @return /// @return
/// ///
void StyleEditBox::OnKeyDown(wxKeyEvent &event) { void StyleEditBox::OnKeyDown(wxKeyEvent &event) {
if (!hotkey::check("Styling Assistant", event.GetKeyCode(), event.GetUnicodeKey(), event.GetModifiers())) if (!hotkey::check("Styling Assistant", event.GetKeyCode(), event.GetUnicodeKey(), event.GetModifiers()))
event.Skip(); event.Skip();
event.StopPropagation(); event.StopPropagation();

View file

@ -3,78 +3,67 @@
"audio play" : [ "audio play" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_5", "key" : "KP_5"
"enable" : false
} }
], ],
"audio stop" : [ "audio stop" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_8", "key" : "KP_8"
"enable" : false
} }
], ],
"timing shift start backward" : [ "timing shift start backward" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_4", "key" : "KP_4"
"enable" : false
} }
], ],
"timing shift start forward" : [ "timing shift start forward" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_6", "key" : "KP_6"
"enable" : false
} }
], ],
"timing shift end backward" : [ "timing shift end backward" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_7", "key" : "KP_7"
"enable" : false
} }
], ],
"timing shift end forward" : [ "timing shift end forward" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_9", "key" : "KP_9"
"enable" : false
} }
], ],
"audio play before selection begin" : [ "audio play before selection begin" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_1", "key" : "KP_1"
"enable" : false
} }
], ],
"audio play after selection end" : [ "audio play after selection end" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_3", "key" : "KP_3"
"enable" : false
} }
], ],
"timing move to prev item" : [ "timing move to prev item" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_0", "key" : "KP_0"
"enable" : false
} }
], ],
"timing move to next item" : [ "timing move to next item" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_2", "key" : "KP_2"
"enable" : false
} }
], ],
"timing commit" : [ "timing commit" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_Enter", "key" : "KP_Enter"
"enable" : false
} }
] ]
}, },
@ -84,251 +73,215 @@
"app/exit" : [ "app/exit" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Q", "key" : "Q"
"enable" : true
} }
], ],
"app/options" : [ "app/options" : [
{ {
"modifiers" : [ "Alt" ], "modifiers" : [ "Alt" ],
"key" : "O", "key" : "O"
"enable" : true
} }
], ],
"edit/line/copy" : [ "edit/line/copy" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "C", "key" : "C"
"enable" : true
} }
], ],
"edit/line/cut" : [ "edit/line/cut" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "X", "key" : "X"
"enable" : true
} }
], ],
"edit/find_replace" : [ "edit/find_replace" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "H", "key" : "H"
"enable" : true
} }
], ],
"edit/line/delete" : [ "edit/line/delete" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Delete", "key" : "Delete"
"enable" : true
} }
], ],
"edit/line/duplicate/shift" : [ "edit/line/duplicate/shift" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "D", "key" : "D"
"enable" : true
} }
], ],
"edit/line/paste" : [ "edit/line/paste" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "V", "key" : "V"
"enable" : true
} }
], ],
"edit/line/paste/over" : [ "edit/line/paste/over" : [
{ {
"modifiers" : [ "Ctrl", "Shift" ], "modifiers" : [ "Ctrl", "Shift" ],
"key" : "V", "key" : "V"
"enable" : true
} }
], ],
"edit/redo" : [ "edit/redo" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Y", "key" : "Y"
"enable" : true
} }
], ],
"edit/undo" : [ "edit/undo" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Z", "key" : "Z"
"enable" : true
} }
], ],
"grid/line/next" : [ "grid/line/next" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_2", "key" : "KP_2"
"enable" : true
} }
], ],
"grid/line/prev" : [ "grid/line/prev" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_8", "key" : "KP_8"
"enable" : true
} }
], ],
"grid/swap/down" : [ "grid/swap/down" : [
{ {
"modifiers" : [ "Alt" ], "modifiers" : [ "Alt" ],
"key" : "Down", "key" : "Down"
"enable" : true
} }
], ],
"grid/swap/up" : [ "grid/swap/up" : [
{ {
"modifiers" : [ "Alt" ], "modifiers" : [ "Alt" ],
"key" : "Up", "key" : "Up"
"enable" : true
} }
], ],
"help/contents" : [ "help/contents" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F1", "key" : "F1"
"enable" : true
} }
], ],
"subtitle/find" : [ "subtitle/find" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "F", "key" : "F"
"enable" : true
} }
], ],
"subtitle/find/next" : [ "subtitle/find/next" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F3", "key" : "F3"
"enable" : true
} }
], ],
"subtitle/new" : [ "subtitle/new" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "N", "key" : "N"
"enable" : true
} }
], ],
"subtitle/open" : [ "subtitle/open" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "O", "key" : "O"
"enable" : true
} }
], ],
"subtitle/save" : [ "subtitle/save" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "S", "key" : "S"
"enable" : true
}, },
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F2", "key" : "F2"
"enable" : true
} }
], ],
"time/frame/current" : [ "time/frame/current" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "6", "key" : "6"
"enable" : true
} }
], ],
"time/shift" : [ "time/shift" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "I", "key" : "I"
"enable" : true
} }
], ],
"time/snap/end_video" : [ "time/snap/end_video" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "4", "key" : "4"
"enable" : true
} }
], ],
"time/snap/scene" : [ "time/snap/scene" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "5", "key" : "5"
"enable" : true
} }
], ],
"time/snap/start_video" : [ "time/snap/start_video" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "3", "key" : "3"
"enable" : true
} }
], ],
"video/focus_seek" : [ "video/focus_seek" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Space", "key" : "Space"
"enable" : true
} }
], ],
"video/frame/next" : [ "video/frame/next" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_6", "key" : "KP_6"
"enable" : true
} }
], ],
"video/play" : [ "video/play" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "P", "key" : "P"
"enable" : true
} }
], ],
"video/frame/prev" : [ "video/frame/prev" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_4", "key" : "KP_4"
"enable" : true
} }
], ],
"video/jump" : [ "video/jump" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "J", "key" : "J"
"enable" : true
} }
], ],
"video/jump/end" : [ "video/jump/end" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "2", "key" : "2"
"enable" : true
} }
], ],
"video/jump/start" : [ "video/jump/start" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "1", "key" : "1"
"enable" : true
} }
], ],
"video/zoom/in" : [ "video/zoom/in" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_Add", "key" : "KP_Add"
"enable" : true
} }
], ],
"video/zoom/out" : [ "video/zoom/out" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_Subtract", "key" : "KP_Subtract"
"enable" : true
} }
] ]
}, },
@ -337,161 +290,137 @@
"audio/play/selection" : [ "audio/play/selection" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Space", "key" : "Space"
"enable" : true
}, },
{ {
"modifiers" : [], "modifiers" : [],
"key" : "S", "key" : "S"
"enable" : true
} }
], ],
"audio/play/selection/after" : [ "audio/play/selection/after" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "W", "key" : "W"
"enable" : true
} }
], ],
"audio/play/selection/before" : [ "audio/play/selection/before" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Q", "key" : "Q"
"enable" : true
} }
], ],
"audio/play/toggle" : [ "audio/play/toggle" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "B", "key" : "B"
"enable" : true
} }
], ],
"audio/play/selection/begin" : [ "audio/play/selection/begin" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "E", "key" : "E"
"enable" : true
} }
], ],
"audio/play/selection/end" : [ "audio/play/selection/end" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "D", "key" : "D"
"enable" : true
} }
], ],
"audio/play/to_end" : [ "audio/play/to_end" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "T", "key" : "T"
"enable" : true
} }
], ],
"audio/scroll/left" : [ "audio/scroll/left" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "A", "key" : "A"
"enable" : true
} }
], ],
"audio/scroll/right" : [ "audio/scroll/right" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F", "key" : "F"
"enable" : true
} }
], ],
"audio/stop" : [ "audio/stop" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "H", "key" : "H"
"enable" : true
} }
], ],
"audio/commit" : [ "audio/commit" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Enter", "key" : "Enter"
"enable" : true
}, },
{ {
"modifiers" : [], "modifiers" : [],
"key" : "G", "key" : "G"
"enable" : true
} }
], ],
"time/lead/in" : [ "time/lead/in" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "C", "key" : "C"
"enable" : true
} }
], ],
"time/lead/out" : [ "time/lead/out" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "V", "key" : "V"
"enable" : true
} }
], ],
"timing karaoke decrease length" : [ "timing karaoke decrease length" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_Subtract", "key" : "KP_Subtract"
"enable" : true
} }
], ],
"timing karaoke decrease length and shift following" : [ "timing karaoke decrease length and shift following" : [
{ {
"modifiers" : [ "Shift" ], "modifiers" : [ "Shift" ],
"key" : "KP_Subtract", "key" : "KP_Subtract"
"enable" : true
} }
], ],
"timing karaoke increase length" : [ "timing karaoke increase length" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "KP_Add", "key" : "KP_Add"
"enable" : true
} }
], ],
"timing karaoke increase length and shift following" : [ "timing karaoke increase length and shift following" : [
{ {
"modifiers" : [ "Shift" ], "modifiers" : [ "Shift" ],
"key" : "KP_Add", "key" : "KP_Add"
"enable" : true
} }
], ],
"time/next" : [ "time/next" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "X", "key" : "X"
"enable" : true
}, },
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Right", "key" : "Right"
"enable" : true
} }
], ],
"time/prev" : [ "time/prev" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Z", "key" : "Z"
"enable" : true
}, },
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Left", "key" : "Left"
"enable" : true
} }
], ],
"toggle global timing mode" : [ "toggle global timing mode" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "KP_Multiply", "key" : "KP_Multiply"
"enable" : true
} }
] ]
}, },
@ -500,106 +429,91 @@
"video/frame/next" : [ "video/frame/next" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Right", "key" : "Right"
"enable" : true
} }
], ],
"video/frame/next/boundary" : [ "video/frame/next/boundary" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Right", "key" : "Right"
"enable" : true
} }
], ],
"video/frame/next/keyframe" : [ "video/frame/next/keyframe" : [
{ {
"modifiers" : [ "Shift" ], "modifiers" : [ "Shift" ],
"key" : "Right", "key" : "Right"
"enable" : true
} }
], ],
"video/frame/next/large" : [ "video/frame/next/large" : [
{ {
"modifiers" : [ "Alt" ], "modifiers" : [ "Alt" ],
"key" : "Right", "key" : "Right"
"enable" : true
} }
], ],
"video/frame/prev" : [ "video/frame/prev" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Left", "key" : "Left"
"enable" : true
} }
], ],
"video/frame/prev/boundary" : [ "video/frame/prev/boundary" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "Left", "key" : "Left"
"enable" : true
} }
], ],
"video/frame/prev/keyframe" : [ "video/frame/prev/keyframe" : [
{ {
"modifiers" : [ "Shift" ], "modifiers" : [ "Shift" ],
"key" : "Left", "key" : "Left"
"enable" : true
} }
], ],
"video/frame/prev/large" : [ "video/frame/prev/large" : [
{ {
"modifiers" : [ "Alt" ], "modifiers" : [ "Alt" ],
"key" : "Left", "key" : "Left"
"enable" : true
} }
], ],
"visual typesetting set tool crosshair" : [ "visual typesetting set tool crosshair" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "A", "key" : "A"
"enable" : true
} }
], ],
"visual typesetting set tool drag" : [ "visual typesetting set tool drag" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "S", "key" : "S"
"enable" : true
} }
], ],
"visual typesetting set tool rectangle clip" : [ "visual typesetting set tool rectangle clip" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "H", "key" : "H"
"enable" : true
} }
], ],
"visual typesetting set tool rotate xy" : [ "visual typesetting set tool rotate xy" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F", "key" : "F"
"enable" : true
} }
], ],
"visual typesetting set tool rotate z" : [ "visual typesetting set tool rotate z" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "D", "key" : "D"
"enable" : true
} }
], ],
"visual typesetting set tool scale" : [ "visual typesetting set tool scale" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "G", "key" : "G"
"enable" : true
} }
], ],
"visual typesetting set tool vector clip" : [ "visual typesetting set tool vector clip" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "J", "key" : "J"
"enable" : true
} }
] ]
}, },
@ -608,22 +522,19 @@
"subtitle/select/all" : [ "subtitle/select/all" : [
{ {
"modifiers" : [ "Ctrl" ], "modifiers" : [ "Ctrl" ],
"key" : "A", "key" : "A"
"enable" : true
} }
], ],
"video/frame/next" : [ "video/frame/next" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Right", "key" : "Right"
"enable" : true
} }
], ],
"video/frame/prev" : [ "video/frame/prev" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Left", "key" : "Left"
"enable" : true
} }
] ]
}, },
@ -632,123 +543,37 @@
"audio play" : [ "audio play" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "End", "key" : "End"
"enable" : true
} }
], ],
"styling assistant commit" : [ "styling assistant commit" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Enter", "key" : "Enter"
"enable" : true
} }
], ],
"styling assistant next item" : [ "styling assistant next item" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "PageDown", "key" : "PageDown"
"enable" : true
} }
], ],
"styling assistant prev item" : [ "styling assistant prev item" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "PageUp", "key" : "PageUp"
"enable" : true
} }
], ],
"styling assistant preview" : [ "styling assistant preview" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F8", "key" : "F8"
"enable" : true
} }
], ],
"video/play" : [ "video/play" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Home", "key" : "Home"
"enable" : true
}
]
},
"Timing Mode" : {
"audio play" : [
{
"modifiers" : [],
"key" : "KP_5",
"enable" : true
}
],
"audio play after selection end" : [
{
"modifiers" : [],
"key" : "KP_3",
"enable" : true
}
],
"audio play before selection begin" : [
{
"modifiers" : [],
"key" : "KP_1",
"enable" : true
}
],
"audio stop" : [
{
"modifiers" : [],
"key" : "KP_8",
"enable" : true
}
],
"timing commit" : [
{
"modifiers" : [],
"key" : "KP_Enter",
"enable" : true
}
],
"timing move to next item" : [
{
"modifiers" : [],
"key" : "KP_2",
"enable" : true
}
],
"timing move to prev item" : [
{
"modifiers" : [],
"key" : "KP_0",
"enable" : true
}
],
"timing shift end backward" : [
{
"modifiers" : [],
"key" : "KP_7",
"enable" : true
}
],
"timing shift end forward" : [
{
"modifiers" : [],
"key" : "KP_9",
"enable" : true
}
],
"timing shift start backward" : [
{
"modifiers" : [],
"key" : "KP_4",
"enable" : true
}
],
"timing shift start forward" : [
{
"modifiers" : [],
"key" : "KP_6",
"enable" : true
} }
] ]
}, },
@ -757,50 +582,43 @@
"audio play" : [ "audio play" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "End", "key" : "End"
"enable" : true
} }
], ],
"translation assiatant prev item" : [ "translation assiatant prev item" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "PageUp", "key" : "PageUp"
"enable" : true
} }
], ],
"translation assistant commit" : [ "translation assistant commit" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Enter", "key" : "Enter"
"enable" : true
} }
], ],
"translation assistant insert original" : [ "translation assistant insert original" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Insert", "key" : "Insert"
"enable" : true
} }
], ],
"translation assistant next item" : [ "translation assistant next item" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "PageDown", "key" : "PageDown"
"enable" : true
} }
], ],
"translation assistant preview" : [ "translation assistant preview" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "F8", "key" : "F8"
"enable" : true
} }
], ],
"video/play" : [ "video/play" : [
{ {
"modifiers" : [], "modifiers" : [],
"key" : "Home", "key" : "Home"
"enable" : true
} }
] ]
} }