fixed macway to comply new API.
This commit is contained in:
parent
c958b2d19b
commit
60052acc0f
5 changed files with 33 additions and 57 deletions
|
@ -4,12 +4,11 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <avr/pgmspace.h>
|
||||
#include "usb_keyboard.h"
|
||||
#include "usb_keycodes.h"
|
||||
#include "print.h"
|
||||
#include "debug.h"
|
||||
#include "util.h"
|
||||
#include "keymap_skel.h"
|
||||
#include "keymap.h"
|
||||
|
||||
|
||||
// Convert physical keyboard layout to matrix array.
|
||||
|
@ -177,9 +176,3 @@ uint8_t keymap_fn_keycode(uint8_t fn_bits)
|
|||
{
|
||||
return pgm_read_byte(&fn_keycode[(biton(fn_bits))]);
|
||||
}
|
||||
|
||||
// define a condition to enter special function mode
|
||||
bool keymap_is_special_mode(uint8_t fn_bits)
|
||||
{
|
||||
return usb_keyboard_mods == (BIT_LSHIFT | BIT_RSHIFT);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue