]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/hid_liber/config.h
Fix debouncing and add legacy keymap support
[max/tmk_keyboard.git] / keyboard / hid_liber / config.h
index a9b77c7dcafe91778fb1361f37dac9d366384625..61a75dd0cf07c20584c781b7762375f89c29f47a 100644 (file)
@@ -41,12 +41,23 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* Set 0 if need no debouncing */
 #define DEBOUNCE    8
 
+/* legacy keymap support */
+#define USE_LEGACY_KEYMAP
 
 /* key combination for command */
 #define IS_COMMAND() ( \
     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
 )
 
+/* Boot Section Size in *BYTEs*
+ *   Teensy   halfKay    512
+ *   Teensy++ halfKay    1024
+ *   Atmel DFU loader    4096
+ *   LUFA bootloader     4096
+ *   USBaspLoader        2048
+ */
+#define BOOTLOADER_SIZE 4096
+
 // TODO: configurable
 #define DEBUG_LED 0
 #define DEBUG_LED_CONFIG