adding jpconstantineau's boards
This commit is contained in:
		
				
					committed by
					
						 Kyle Brown
						Kyle Brown
					
				
			
			
				
	
			
			
			
						parent
						
							4a8b95ce93
						
					
				
				
					commit
					7427531494
				
			
							
								
								
									
										27
									
								
								boards/jpconstantineau/PyKey60/kb.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								boards/jpconstantineau/PyKey60/kb.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| import board | ||||
|  | ||||
| from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard | ||||
| from kmk.matrix import DiodeOrientation | ||||
|  | ||||
|  | ||||
| class KMKKeyboard(_KMKKeyboard): | ||||
|     row_pins = ( | ||||
|         board.COL1, | ||||
|         board.COL2, | ||||
|         board.COL3, | ||||
|         board.COL4, | ||||
|         board.COL5, | ||||
|         board.COL6, | ||||
|         board.COL7, | ||||
|         board.COL8, | ||||
|         board.COL9, | ||||
|         board.COL10, | ||||
|         board.COL11, | ||||
|         board.COL12, | ||||
|         board.COL13, | ||||
|         board.COL14, | ||||
|     ) | ||||
|     col_pins = (board.ROW1, board.ROW2, board.ROW3, board.ROW4, board.ROW5) | ||||
|     diode_orientation = DiodeOrientation.COL2ROW | ||||
|     rgb_pixel_pin = board.NEOPIXEL | ||||
|     rgb_num_pixels = 61 | ||||
		Reference in New Issue
	
	Block a user