NKRO fixes.
This commit is contained in:
parent
9540016b12
commit
a24ddf3403
4 changed files with 52 additions and 49 deletions
|
|
@ -84,6 +84,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# define KEYBOARD_REPORT_SIZE NKRO_EPSIZE
|
||||
# define KEYBOARD_REPORT_KEYS (NKRO_EPSIZE - 2)
|
||||
# define KEYBOARD_REPORT_BITS (NKRO_EPSIZE - 1)
|
||||
#elif defined(PROTOCOL_CHIBIOS) && defined(NKRO_ENABLE)
|
||||
# include "protocol/chibios/usb_main.h"
|
||||
# define KEYBOARD_REPORT_SIZE NKRO_EPSIZE
|
||||
# define KEYBOARD_REPORT_KEYS (NKRO_EPSIZE - 2)
|
||||
# define KEYBOARD_REPORT_BITS (NKRO_EPSIZE - 1)
|
||||
|
||||
#else
|
||||
# define KEYBOARD_REPORT_SIZE 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue