blob: a91d0a3510ff1736d938c377d54502ddda58ca20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include QMK_KEYBOARD_H
#include "action.h"
// Initialize the state.
void star_key_init(void);
// This code is intended to be called from the master.
// Send the star key status to the other side of the keyboard
void sync_star_key(void);
// Handle the keypress, turn the light on until the next press, or revert off
// after a cycle of 3 presses.
void star_key_process_record(uint16_t keycode, keyrecord_t *record);
|