diff options
Diffstat (limited to 'keyboards/launchpad')
| -rw-r--r-- | keyboards/launchpad/config.h | 5 | ||||
| -rw-r--r-- | keyboards/launchpad/keymaps/brandonschlack/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/launchpad/keymaps/drashna/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/launchpad/launchpad.h | 10 | ||||
| -rw-r--r-- | keyboards/launchpad/rev1/rev1.h | 26 | 
5 files changed, 17 insertions, 28 deletions
diff --git a/keyboards/launchpad/config.h b/keyboards/launchpad/config.h index e9a13a3bdf..327d67016b 100644 --- a/keyboards/launchpad/config.h +++ b/keyboards/launchpad/config.h @@ -15,8 +15,7 @@ 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 CONFIG_H -#define CONFIG_H +#pragma once  #include "config_common.h" @@ -65,5 +64,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  #ifdef SUBPROJECT_rev1      #include "rev1/config.h"  #endif - -#endif diff --git a/keyboards/launchpad/keymaps/brandonschlack/rules.mk b/keyboards/launchpad/keymaps/brandonschlack/rules.mk index f7d08e3ccb..31c8f7b39d 100644 --- a/keyboards/launchpad/keymaps/brandonschlack/rules.mk +++ b/keyboards/launchpad/keymaps/brandonschlack/rules.mk @@ -5,7 +5,7 @@ IS_MACROPAD = yes  BOOTLOADER = atmel-dfu  # Build Options -BOOTMAGIC_ENABLE = lite     # Enable Bootmagic Lite +BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite  RGBLIGHT_ENABLE = yes        # Enable WS2812 RGB underlight.  CONSOLE_ENABLE = yes         # Console for debug(+400)  MOUSEKEY_ENABLE = yes        # Use mouse keys for scrolling. diff --git a/keyboards/launchpad/keymaps/drashna/rules.mk b/keyboards/launchpad/keymaps/drashna/rules.mk index ffda191131..c3b1e0a8b9 100644 --- a/keyboards/launchpad/keymaps/drashna/rules.mk +++ b/keyboards/launchpad/keymaps/drashna/rules.mk @@ -2,6 +2,6 @@ BOOTLOADER = atmel-dfu  RGBLIGHT_ENABLE  = no  AUDIO_ENABLE     = no -BOOTMAGIC_ENABLE = lite     # Enable Bootmagic Lite +BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite  RGB_MATRIX_ENABLE = yes  RGB_MATRIX_DRIVER = WS2812 diff --git a/keyboards/launchpad/launchpad.h b/keyboards/launchpad/launchpad.h index 85432de0ad..59cf64afec 100644 --- a/keyboards/launchpad/launchpad.h +++ b/keyboards/launchpad/launchpad.h @@ -1,11 +1,7 @@ -#ifndef LAUNCHPAD_H -#define LAUNCHPAD_H +#pragma once -#ifdef KEYBOARD_launchpad_rev1 -    #include "rev1.h" +#if defined(KEYBOARD_launchpad_rev1) +#    include "rev1.h"  #endif  #include "quantum.h" - - -#endif diff --git a/keyboards/launchpad/rev1/rev1.h b/keyboards/launchpad/rev1/rev1.h index 6644db8300..2ea6e7e775 100644 --- a/keyboards/launchpad/rev1/rev1.h +++ b/keyboards/launchpad/rev1/rev1.h @@ -1,21 +1,17 @@ -#ifndef REV1_H -#define REV1_H +#pragma once  #include "../launchpad.h"  #include "quantum.h"  #define LAYOUT( \ -	K00, K01, \ -	K10, K11, \ -	K20, K21, \ -	K30, K31  \ -	) \ -	{ \ -		{ K00, K01 }, \ -		{ K10, K11 }, \ -		{ K20, K21 }, \ -		{ K30, K31 } \ -	} - -#endif +    k00, k01, \ +    k10, k11, \ +    k20, k21, \ +    k30, k31 \ +) { \ +    { k00, k01 }, \ +    { k10, k11 }, \ +    { k20, k21 }, \ +    { k30, k31 } \ +}  | 
