Change keyboard level include guards to pragma once (#14248)
				
					
				
			* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
This commit is contained in:
		
							parent
							
								
									971d36bb9e
								
							
						
					
					
						commit
						41c50bb653
					
				
					 308 changed files with 3520 additions and 4568 deletions
				
			
		| 
						 | 
				
			
			@ -13,8 +13,8 @@
 | 
			
		|||
 * You should have received a copy of the GNU General Public License
 | 
			
		||||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
#ifndef GEEKPAD_H
 | 
			
		||||
#define GEEKPAD_H
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "quantum.h"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -27,14 +27,11 @@
 | 
			
		|||
 * represents the switch matrix.
 | 
			
		||||
 */
 | 
			
		||||
#define LAYOUT( \
 | 
			
		||||
    K00, K01, K02, \
 | 
			
		||||
    K10, K11, K12, \
 | 
			
		||||
    K20, K21, K22  \
 | 
			
		||||
) \
 | 
			
		||||
{ \
 | 
			
		||||
    { K00,   K01,   K02 }, \
 | 
			
		||||
    { K10,   K11,   K12 }, \
 | 
			
		||||
    { K20,   K21,   K22 }  \
 | 
			
		||||
    k00, k01, k02, \
 | 
			
		||||
    k10, k11, k12, \
 | 
			
		||||
    k20, k21, k22  \
 | 
			
		||||
) { \
 | 
			
		||||
    { k00, k01, k02 }, \
 | 
			
		||||
    { k10, k11, k12 }, \
 | 
			
		||||
    { k20, k21, k22 } \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue