summaryrefslogtreecommitdiffstats
path: root/converter/serialmouse_usb/keymap.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-08-26 17:40:22 +0900
committertmk <nobody@nowhere>2014-08-26 17:46:41 +0900
commit4799c99b4d1f065d1c23f3f27df079072d0ce8e9 (patch)
treece081df2bc887c948ab9e0d5fc1242f8cc70aeb0 /converter/serialmouse_usb/keymap.c
parentc672cbc31c67335050dc3ba9d54acb97e5d3da0c (diff)
Add serialmouser_usb project
Diffstat (limited to 'converter/serialmouse_usb/keymap.c')
-rw-r--r--converter/serialmouse_usb/keymap.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/converter/serialmouse_usb/keymap.c b/converter/serialmouse_usb/keymap.c
new file mode 100644
index 0000000000..de8f75c2af
--- /dev/null
+++ b/converter/serialmouse_usb/keymap.c
@@ -0,0 +1,33 @@
+/*
+Copyright 2011,2012,2013 Jun Wako <wakojun@gmail.com>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+#include <stdint.h>
+#include <stdbool.h>
+#include "keymap.h"
+
+
+/* translates key to keycode */
+uint8_t keymap_key_to_keycode(uint8_t layer, key_t key)
+{
+ return KC_NO;
+}
+
+/* translates Fn keycode to action */
+action_t keymap_fn_to_action(uint8_t keycode)
+{
+ return (action_t){};
+}
+