Mercurial > louis > kiibohd-controller
comparison Scan/SKM67001/customSKM.h @ 341:66eccdd9ced5
Code cleanup
- Changing header file ifndef define to pragma once's
- Removed duplicate output_com.h's
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sun, 14 Jun 2015 13:56:56 -0700 |
parents | 8dab4014c398 |
children |
comparison
equal
deleted
inserted
replaced
340:e8841d3c6db5 | 341:66eccdd9ced5 |
---|---|
1 /* Copyright (C) 2012,2014 by Jacob Alexander | 1 /* Copyright (C) 2012,2014-2015 by Jacob Alexander |
2 * | 2 * |
3 * Permission is hereby granted, free of charge, to any person obtaining a copy | 3 * Permission is hereby granted, free of charge, to any person obtaining a copy |
4 * of this software and associated documentation files (the "Software"), to deal | 4 * of this software and associated documentation files (the "Software"), to deal |
5 * in the Software without restriction, including without limitation the rights | 5 * in the Software without restriction, including without limitation the rights |
6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 6 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 17 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 18 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
19 * THE SOFTWARE. | 19 * THE SOFTWARE. |
20 */ | 20 */ |
21 | 21 |
22 #ifndef __KEYMAP_H | 22 #pragma once |
23 #define __KEYMAP_H | |
24 | 23 |
25 // ----- Variables ----- | 24 // ----- Variables ----- |
26 | 25 |
27 // Default 1-indexed key mappings | 26 // Default 1-indexed key mappings |
28 static uint8_t DefaultMap_Lookup[] = { | 27 static uint8_t DefaultMap_Lookup[] = { |
112 0, // 0x53 | 111 0, // 0x53 |
113 0, // 0x54 | 112 0, // 0x54 |
114 0, // 0x55 | 113 0, // 0x55 |
115 }; | 114 }; |
116 | 115 |
117 | |
118 #endif | |
119 |