ok so i finally got around to programming this with my own hex file, i put ghpad under firmware into the recent tmk_keyboard_master
i added in a bootloader key so i dont have to take everything apart to program, i pulled this from when i programmed my phantom(s)
it looks like this
#include "keymap_common.h"
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KEYMAP(ESC, TAB, FN0, BSPC, \
NUMLOCK,KP_SLASH,KP_ASTERISK,KP_MINUS, \
KP_7, KP_8, KP_9, KP_PLUS, \
KP_4, KP_5, KP_6, KP_PLUS, \
KP_1, KP_2, KP_3, KP_ENTER, \
KP_0, KP_0, KP_DOT, KP_ENTER), \
KEYMAP(TRNS, TRNS, TRNS, TRNS, \
FN1, TRNS, TRNS, TRNS, \
TRNS, UP, TRNS, TRNS, \
LEFT, DOWN, RGHT, TRNS, \
TRNS, TRNS, TRNS, TRNS, \
INS, INS, DEL, TRNS )
};
enum function_id {
TEENSY_KEY,
};
const uint16_t PROGMEM fn_actions[] = {
[0] = ACTION_LAYER_MOMENTARY(1),
[1] = ACTION_FUNCTION(TEENSY_KEY)
};
void action_function(keyrecord_t *event, uint8_t id, uint8_t opt)
{
if (id == TEENSY_KEY) {
clear_keyboard();
bootloader_jump();
}
}
Now onto the next question. how the hell do you get the backlighting to work? i imagine there is a altered config.h, Makefile, and added backlight.h and backlight.c like the other tmk with backlighting has but it has been failed to be posted here