Skip to content

whoop-t/nice-one-punch-ok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nice-one-punch-ok

Preview

Quick setup

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: config

Add 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 entry

Also 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

Configuration

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

Acknowledgements

Base Repo (for anyone to get started with their own)

https://github.com/whoop-t/nice-shield-base

Inspiration

https://github.com/M165437/nice-view-gem

Making the art

https://www.pixilart.com

Coverting art to C code

https://javl.github.io/image2cpp/

Other image processing

https://www.iloveimg.com/