Created
          June 7, 2022 17:54 
        
      - 
      
- 
        Save drashna/3ee68510a75b13ffea261de4f089848d to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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
    
  
  
    
  | float my_sound[][2] = SONG(ONE_UP_SOUND); | |
| bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |
| switch (keycode) { | |
| case KC_ENTER: | |
| if (record->event.pressed) { | |
| PLAY_SONG(my_sound); | |
| } | |
| break; | |
| } | |
| return true; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment