host interface for pjrc
This commit is contained in:
parent
2b8cd88ab1
commit
9a938eecbd
24 changed files with 473 additions and 330 deletions
|
|
@ -11,8 +11,13 @@
|
|||
/* matrix size */
|
||||
#define MATRIX_ROWS 32 // keycode bit: 3-0
|
||||
#define MATRIX_COLS 8 // keycode bit: 6-4
|
||||
/* define if matrix has ghost */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* key combination for command */
|
||||
#define IS_COMMAND() ( \
|
||||
keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
|
||||
keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
|
||||
)
|
||||
|
||||
|
||||
/* USB NKey Rollover */
|
||||
#ifdef USB_NKRO_ENABLE
|
||||
|
|
@ -23,11 +28,6 @@
|
|||
# define MOUSEKEY_DELAY_TIME 255
|
||||
#endif
|
||||
|
||||
#define IS_COMMAND() ( \
|
||||
keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
|
||||
keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
|
||||
)
|
||||
|
||||
|
||||
/* PS/2 lines */
|
||||
#define PS2_CLOCK_PORT PORTD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue