load keymaps from storage

This commit is contained in:
Shin'ya Ueoka 2017-09-27 21:51:39 +09:00
parent 8ba490ea11
commit e97ffafea3
7 changed files with 85 additions and 51 deletions

View file

@ -14,4 +14,11 @@ const clearKeys = () => {
};
};
export { keyPress, clearKeys };
const setKeymaps = (keymaps) => {
return {
type: actions.INPUT_SET_KEYMAPS,
keymaps: keymaps
};
};
export { keyPress, clearKeys, setKeymaps };