yay website v2
This commit is contained in:
parent
d995b97ad8
commit
b8e9086f87
7 changed files with 552 additions and 47 deletions
|
@ -107,7 +107,7 @@ Turns out QMK makes it quite easy to [send data back and forth](https://docs.qmk
|
|||
between the computer and the keyboard, and after a little fiddling around, I had something promising.
|
||||
|
||||
## Final Code
|
||||
```c,linenos
|
||||
```c
|
||||
RGB_MATRIX_EFFECT(custom_colors)
|
||||
RGB_MATRIX_EFFECT(pride_flag)
|
||||
|
||||
|
@ -167,7 +167,7 @@ static bool pride_flag(effect_params_t* params) {
|
|||
|
||||
I then wrote this little command-line thing to let me change the keyboard color on the fly.
|
||||
|
||||
```rs,linenos
|
||||
```rs
|
||||
use hidapi::HidApi;
|
||||
use std::env;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue