updated to fix linter
This commit is contained in:
		
				
					committed by
					
						
						Kyle Brown
					
				
			
			
				
	
			
			
			
						parent
						
							2da3b1f5f4
						
					
				
				
					commit
					b3d4ffde0a
				
			@@ -6,9 +6,18 @@ from kmk.matrix import DiodeOrientation
 | 
			
		||||
 | 
			
		||||
class KMKKeyboard(_KMKKeyboard):
 | 
			
		||||
    col_pins = (
 | 
			
		||||
                board.P0_15, board.P0_17, board.P0_20, board.P0_13,  board.P0_24,
 | 
			
		||||
                board.P0_09, board.P0_03, board.P1_13,  board.P0_02, board.P0_29, board.P0_26,  board.P0_30
 | 
			
		||||
        board.P0_15,
 | 
			
		||||
        board.P0_17,
 | 
			
		||||
        board.P0_20,
 | 
			
		||||
        board.P0_13,
 | 
			
		||||
        board.P0_24,
 | 
			
		||||
        board.P0_09,
 | 
			
		||||
        board.P0_03,
 | 
			
		||||
        board.P1_13,
 | 
			
		||||
        board.P0_02,
 | 
			
		||||
        board.P0_29,
 | 
			
		||||
        board.P0_26,
 | 
			
		||||
        board.P0_30,
 | 
			
		||||
    )
 | 
			
		||||
    row_pins = (board.P0_28, board.P1_11, board.P0_10, board.P1_06)
 | 
			
		||||
    diode_orientation = DiodeOrientation.COL2ROW
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -3,12 +3,10 @@
 | 
			
		||||
# Board can use different controllers.
 | 
			
		||||
# Edit last 2 lines if you have a nRF52840 and want BLE
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
from kb import KMKKeyboard
 | 
			
		||||
from kmk.hid import HIDModes
 | 
			
		||||
from kmk.keys import KC
 | 
			
		||||
from kmk.modules.layers import Layers
 | 
			
		||||
from kmk.hid import HIDModes
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
keyboard = KMKKeyboard()
 | 
			
		||||
keyboard.modules.append(Layers())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user