 bf42707eed
			
		
	
	
		bf42707eed
		
			
		
	
	
	
	
		
			
			Affects: - `e88` - `ealdin/quadrant` - `earth_rover` - `eco` - `edc40` - `edi/standaside` - `eek` - `ein_60` - `eniigmakeyboards/ek65` - `eniigmakeyboards/ek87` - `ep/96` - `ep/comsn/hs68` - `ep/comsn/mollydooker` - `ep/comsn/tf_longeboye` - `ergodox_ez` - `ergotravel/rev1` - `eternal_keypad` - `evil80` - `evolv` - `evyd13/atom47/rev2` - `evyd13/atom47/rev5` - `evyd13/eon65` - `evyd13/eon75` - `evyd13/eon87` - `evyd13/eon95` - `evyd13/gh80_1800` - `evyd13/gh80_3700` - `evyd13/minitomic` - `evyd13/mx5160` - `evyd13/nt750` - `evyd13/nt980` - `evyd13/omrontkl` - `evyd13/quackfire` - `evyd13/solheim68` - `evyd13/ta65` - `evyd13/wasdat_code` - `exclusive/e65` - `exclusive/e7v1` - `exclusive/e7v1se` - `exclusive/e85/hotswap` - `exclusive/e85/soldered`
		
			
				
	
	
		
			55 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
| Copyright 2019 Evy Dekkers
 | |
| 
 | |
| This program is free software: you can redistribute it and/or modify
 | |
| it under the terms of the GNU General Public License as published by
 | |
| the Free Software Foundation, either version 2 of the License, or
 | |
| (at your option) any later version.
 | |
| 
 | |
| This program is distributed in the hope that it will be useful,
 | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | |
| GNU General Public License for more details.
 | |
| 
 | |
| You should have received a copy of the GNU General Public License
 | |
| along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | |
| */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| 
 | |
| /* key matrix size */
 | |
| #define MATRIX_ROWS 8
 | |
| #define MATRIX_COLS 16
 | |
| 
 | |
| /*
 | |
|  * Keyboard Matrix Assignments
 | |
|  *
 | |
|  * Change this to how you wired your keyboard
 | |
|  * COLS: AVR pins used for columns, left to right
 | |
|  * ROWS: AVR pins used for rows, top to bottom
 | |
|  * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
 | |
|  *                  ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
 | |
|  *
 | |
| */
 | |
| #define MATRIX_ROW_PINS { E6, C7, C6, B6, B5, B4, D7, D6 }
 | |
| #define MATRIX_COL_PINS { F7, F5, F6, F1, F4, F0, NO_PIN, D5, D3, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } // Columns 6 and 9-15 controlled by demux
 | |
| 
 | |
| #define SN74X138_ADDRESS_PINS { D2, D1, D0 }
 | |
| #define SN74X138_E3_PIN D4
 | |
| 
 | |
| /*
 | |
|  * Feature disable options
 | |
|  *  These options are also useful to firmware size reduction.
 | |
|  */
 | |
| 
 | |
| /* disable debug print */
 | |
| //#define NO_DEBUG
 | |
| 
 | |
| /* disable print */
 | |
| //#define NO_PRINT
 | |
| 
 | |
| /* disable action features */
 | |
| //#define NO_ACTION_LAYER
 | |
| //#define NO_ACTION_TAPPING
 | |
| //#define NO_ACTION_ONESHOT
 |