sxkbd

Firmware for RP2040-based corne split keyboard
git clone https://git.sinitax.com/sinitax/sxkbd
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

system.h (451B)


      1 #pragma once
      2 
      3 /* Generic Desktop Page (0x01)
      4  *
      5  * See https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=26
      6  */
      7 enum hid_system {
      8     /* 4.5.1 System Controls - Power Controls */
      9     SYSTEM_POWER_DOWN             = 0x81,
     10     SYSTEM_SLEEP                  = 0x82,
     11     SYSTEM_WAKE_UP                = 0x83,
     12     SYSTEM_RESTART                = 0x8F,
     13 
     14     /* 4.10 System Display Controls */
     15     SYSTEM_DISPLAY_TOGGLE_INT_EXT = 0xB5
     16 };
     17