Note
ZMK updated to use LVGL V9, this changed many apis used in this code for the drawing functionality and I am not updating this code to the new api changes so you will need to pin ZMK to version 0.3 and NOT main in your ZMK config.
See this commit for how to pin in your ZMK repo
In your ZMK firmware, add the following:
Add remote to west.yaml
manifest:
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: whoop-t #new entry
url-base: https://github.com/whoop-t #new entry
projects:
- name: zmk
remote: zmkfirmware
revision: main
import: app/west.yml
- name: nice-one-punch-ok #new entry
remote: whoop-t #new entry
revision: main #new entry
self:
path: configAdd this module to build.yaml(this is for corne, but change for your keyboard if needed)
include:
- board: nice_nano_v2
shield: corne_left nice_view_adapter nice_one_punch_ok #update entry
- board: nice_nano_v2
shield: corne_right nice_view_adapter nice_one_punch_ok #update entryAlso make sure to enable the custom status screen in your ZMK configuration, this would be your keyboards .conf file in the config directory:
CONFIG_ZMK_DISPLAY=y
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_CUSTOM=y
Modify the behavior of this shield by adjusting these options in your personal configuration files. For a more detailed explanation, refer to Configuration in the ZMK documentation.
| Option | Type | Description | Default |
|---|---|---|---|
CONFIG_NICE_LEFT_ANIMATION |
bool | If you find the animation distracting (or want to save on battery usage), you can turn it off by setting this option to n. This will set it to use 1 frame where saitama is not obstructed by any rocks. |
y |
CONFIG_NICE_LEFT_ANIMATION_MS |
int | Alternatively, you can slow down the animation. A high value, such as 96000, slows the animation considerably, showing the next frame every couple of seconds. The animation consists of 5 frames, and the default value of 960 milliseconds. | 960 |
https://github.com/whoop-t/nice-shield-base
https://github.com/M165437/nice-view-gem
