Skip to content

ThioJoe/Dynamic-Lighting-Key-Indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Dynamic Lighting Key Indicator

An app that uses the Windows 11 "Dynamic Lighting" API to change the color of the Num Lock, Caps Lock, and Scroll Lock keyboard keys based on their toggle status.


Features

  • Set the On/Off color and brightness for each toggle key
  • Set the 'default' color that applies to the rest of the keyboard
  • Option to sync any toggle key's On/Off color to be the same as the default
  • Control via local Windows URL protocol ( key-lighting-indicator:// ) and parameters
  • Auto-reconnects to saved device when program starts up

Requirements:

  • Windows 11 (23H2)
  • A compatible keyboard (Support for Windows 11 Dynamic Lighting, with per-key RGB)

Screenshot

image


URL Protocol Control

You can control the application settings using the key-lighting-indicator:// protocol. The general format is:

key-lighting-indicator://set?parameter1=value1&parameter2=value2

Example With Command Prompt / Batch

(Don't put quotes around the URL)

start key-lighting-indicator://set?global_brightness=100

Example Using PowerShell

(Qutoes seem optional)

Start-Process "key-lighting-indicator://set?global_brightness=100"

Protocol Parameters

  • global_brightness: Integer (0-100) - Sets brightness for all keys
  • standardkeycolor: RGB values (e.g., "255,0,0") or "default" - Sets the color for non-toggle keys
  • numlockcolor_on: RGB values or "default" - Sets Num Lock's active color
  • numlockcolor_off: RGB values or "default" - Sets Num Lock's inactive color
  • capslockcolor_on: RGB values or "default" - Sets Caps Lock's active color
  • capslockcolor_off: RGB values or "default" - Sets Caps Lock's inactive color
  • scrolllockcolor_on: RGB values or "default" - Sets Scroll Lock's active color
  • scrolllockcolor_off: RGB values or "default" - Sets Scroll Lock's inactive color

Examples

  • Set global brightness to 50%:

    key-lighting-indicator://set?global_brightness=50
  • Set all non-toggle keys to red:

    key-lighting-indicator://set?standardkeycolor=255,0,0
  • Set Caps Lock colors (green when on, red when off):

    key-lighting-indicator://set?capslockcolor_on=0,255,0&capslockcolor_off=255,0,0
  • Reset Scroll Lock colors to match the standard key color:

    key-lighting-indicator://set?scrolllockcolor_on=default&scrolllockcolor_off=default

About

Uses windows dynamic lighting feature to set colors of toggle keys

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages