#pragma once // 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);