-
-
Save brandonscott/3fac38e5332ef6084424e75f982d5b6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a custom for the Keyboard | |
var keyboardGrid = KeyboardCustom.Create(); | |
// Set the whole Grid to Green | |
keyboardGrid.Set(ColoreColor.Green); | |
// Set the A Key to Red | |
keyboardGrid[Key.A] = ColoreColor.Red; | |
// Set the Key in the second row and the fifth column to Red | |
keyboardGrid[1,4] = ColoreColor.Red; | |
// Apply the grid to the Keyboard | |
Chroma.Instance.Keyboard.SetCustom(keyboardGrid); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment