mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 15:04:11 +00:00
Some small tweaks
This commit is contained in:
parent
c1ed464b7a
commit
080ed12fcc
@ -14,7 +14,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "action_util.h"
|
||||
#include "report.h"
|
||||
#include "host.h"
|
||||
#include "keycode_config.h"
|
||||
@ -22,6 +21,11 @@
|
||||
#include "util.h"
|
||||
#include <string.h>
|
||||
|
||||
extern report_keyboard_t *keyboard_report;
|
||||
#ifdef NKRO_ENABLE
|
||||
extern report_nkro_t *nkro_report;
|
||||
#endif
|
||||
|
||||
#ifdef RING_BUFFERED_6KRO_REPORT_ENABLE
|
||||
# define RO_ADD(a, b) ((a + b) % KEYBOARD_REPORT_KEYS)
|
||||
# define RO_SUB(a, b) ((a - b + KEYBOARD_REPORT_KEYS) % KEYBOARD_REPORT_KEYS)
|
||||
|
@ -172,7 +172,7 @@ typedef struct {
|
||||
uint8_t report_id;
|
||||
uint8_t mods;
|
||||
uint8_t bits[NKRO_REPORT_BITS];
|
||||
} report_nkro_t;
|
||||
} PACKED report_nkro_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t report_id;
|
||||
|
Loading…
Reference in New Issue
Block a user