aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/gh60/keymap_common.c
diff options
context:
space:
mode:
authorNathan Sharfi <me@ngalt.com>2016-05-30 15:45:17 -0700
committerNathan Sharfi <me@ngalt.com>2016-05-30 15:45:17 -0700
commit222e8f031cef1d53c4d4ea33b3970193fcd070fa (patch)
tree0e10f397d2bf4ed5a3aced723fb3e97b09875d49 /keyboard/gh60/keymap_common.c
parent13810e4822d57553caa5aea537af7e80ad701589 (diff)
parent8ee9be11dee3db265cd8a0cc22a8fe40f6067820 (diff)
downloadfirmware-222e8f031cef1d53c4d4ea33b3970193fcd070fa.tar.gz
firmware-222e8f031cef1d53c4d4ea33b3970193fcd070fa.tar.bz2
firmware-222e8f031cef1d53c4d4ea33b3970193fcd070fa.zip
Merge branch 'master' of github.com:jackhumbert/qmk_firmware
Diffstat (limited to 'keyboard/gh60/keymap_common.c')
-rw-r--r--keyboard/gh60/keymap_common.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/keyboard/gh60/keymap_common.c b/keyboard/gh60/keymap_common.c
deleted file mode 100644
index fdb1769e1..000000000
--- a/keyboard/gh60/keymap_common.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-Copyright 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 "keymap_common.h"
-
-
-/* translates key to keycode */
-uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key)
-{
- return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);
-}
-
-/* translates Fn keycode to action */
-action_t keymap_fn_to_action(uint8_t keycode)
-{
- return (action_t){ .code = pgm_read_word(&fn_actions[FN_INDEX(keycode)]) };
-}