aboutsummaryrefslogtreecommitdiff
path: root/src/actions/input.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/input.js')
-rw-r--r--src/actions/input.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/actions/input.js b/src/actions/input.js
deleted file mode 100644
index 61acb76..0000000
--- a/src/actions/input.js
+++ /dev/null
@@ -1,23 +0,0 @@
-import actions from 'actions';
-
-const asKeymapChars = (key, ctrl) => {
- if (ctrl) {
- return '<C-' + key.toUpperCase() + '>';
- }
- return key;
-};
-
-const keyPress = (key, ctrl) => {
- return {
- type: actions.INPUT_KEY_PRESS,
- key: asKeymapChars(key, ctrl),
- };
-};
-
-const clearKeys = () => {
- return {
- type: actions.INPUT_CLEAR_KEYS
- };
-};
-
-export { keyPress, clearKeys };