[Keyboard] Fix mechlovin/kay65 (#16653)
This commit is contained in:
		
							parent
							
								
									5e5047f071
								
							
						
					
					
						commit
						36ddb567cc
					
				
					 11 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -15,11 +15,11 @@ You should have received a copy of the GNU General Public License
 | 
			
		|||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include "rev1.h"
 | 
			
		||||
#include "kay65.h"
 | 
			
		||||
 | 
			
		||||
void keyboard_pre_init_user(void) {
 | 
			
		||||
  // Call the keyboard pre init code.
 | 
			
		||||
 | 
			
		||||
  // Set our LED pins as output
 | 
			
		||||
  setPinOutput(D7);
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -18,8 +18,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
enum my_keycodes {
 | 
			
		||||
  LOGO_LED_ON = USER00,
 | 
			
		||||
  LOGO_LED_OFF = USER01
 | 
			
		||||
  LOGO_LED_ON = SAFE_RANGE,
 | 
			
		||||
  LOGO_LED_OFF
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
| 
						 | 
				
			
			@ -47,6 +47,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
        } 
 | 
			
		||||
        break;
 | 
			
		||||
  }
 | 
			
		||||
    return true;
 | 
			
		||||
  return true;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -68,5 +68,5 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
        } 
 | 
			
		||||
        break;
 | 
			
		||||
  }
 | 
			
		||||
    return true;
 | 
			
		||||
};
 | 
			
		||||
  return true;
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -10,11 +10,11 @@ A 65% PCB with centered USB, RGB underglow and top right LED.
 | 
			
		|||
 | 
			
		||||
Make example for this keyboard (after setting up your build environment):
 | 
			
		||||
 | 
			
		||||
    make mechlovin/kay65/rev1:default
 | 
			
		||||
    make mechlovin/kay65:default
 | 
			
		||||
 | 
			
		||||
Flashing example for this keyboard:
 | 
			
		||||
 | 
			
		||||
    make mechlovin/kay65/rev1:default:flash
 | 
			
		||||
    make mechlovin/kay65:default:flash
 | 
			
		||||
 | 
			
		||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue