summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/keymap_common.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-09-15 00:33:57 -0400
committerJack Humbert <jack.humb@gmail.com>2015-09-15 00:33:57 -0400
commitc8d58a9f19a9cc3926bd16cf6f5581e6ed28429b (patch)
treed36cd1adbdf55a455e9fb73623e66df4f2978a77 /keyboard/planck/keymap_common.c
parentfebd7886a1c4a52b520da78d7cb133017841af71 (diff)
unicode working, i think
Diffstat (limited to 'keyboard/planck/keymap_common.c')
-rw-r--r--keyboard/planck/keymap_common.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/keyboard/planck/keymap_common.c b/keyboard/planck/keymap_common.c
index 0cf3f31cbe..93e91c792b 100644
--- a/keyboard/planck/keymap_common.c
+++ b/keyboard/planck/keymap_common.c
@@ -27,17 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
static action_t keycode_to_action(uint16_t keycode);
-
-uint16_t hextokeycode(int hex) {
- if (hex == 0x0) {
- return KC_0;
- } else if (hex < 0xA) {
- return KC_1 + (hex - 0x1);
- } else {
- return KC_A + (hex - 0xA);
- }
-}
-
/* converts key to action */
action_t action_for_key(uint8_t layer, keypos_t key)
{