]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Rename MS-sculpt-mobile to MS_scuplpt_mobile
authorFred Sundvik <fsundvik@gmail.com>
Sun, 9 Apr 2017 19:49:07 +0000 (22:49 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Thu, 13 Apr 2017 13:00:29 +0000 (16:00 +0300)
Subprojects with "-" have problems, since the build system creates
a define containing the subproject name, and "-" is illegal in
macro names.

keyboards/handwired/MS_sculpt_mobile/MS_sculpt_mobile.c
keyboards/handwired/MS_sculpt_mobile/babblePaste.c
keyboards/handwired/MS_sculpt_mobile/babblePaste.h
keyboards/handwired/MS_sculpt_mobile/keymaps/default/config.h
keyboards/handwired/MS_sculpt_mobile/keymaps/default/keymap.c
keyboards/handwired/MS_sculpt_mobile/keymaps/milestogo/config.h
keyboards/handwired/MS_sculpt_mobile/keymaps/milestogo/keymap.c

index 4c735a6c29fb9fd833a421b55385c406836e636f..64982fb62dfbf3b91aa1e3bc9daa02a71481db6d 100644 (file)
@@ -1 +1 @@
-#include "MS-sculpt-mobile.h"
+#include "MS_sculpt_mobile.h"
index 3a9b86997d51f0538a9b27fbf1901ad5193752f8..22394cc7d2d6374886113f44e1718c19c59936c8 100644 (file)
@@ -7,7 +7,8 @@ Huge thanks to https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
 and https://github.com/qmk/qmk_firmware/blob/master/keyboards/planck/keymaps/jeebak/keymap.c 
 */
 
-#include "babblePaste.h"
+#include "../MS_sculpt_mobile/babblePaste.h"
+
 #include "action_macro.h"
 
 #ifdef USE_BABLPASTE
@@ -27,7 +28,7 @@ macro_t* switch_babble_mode( uint8_t id) {
 // And else statements have problems, see https://gcc.gnu.org/onlinedocs/gcc-3.0.1/cpp_3.html#SEC15
 #define BABLM(ent, macro...) \
        if ( ent == shortcut ) \
-                {  action_macro_play( MACRO(macro)); return MACRO_NONE; }   
+                {  action_macro_play( MACRO(macro)); return MACRO_NONE; }
 
 
 /* this function runs the appropriate babblepaste macro, given
@@ -456,4 +457,4 @@ const  macro_t *babblePaste (keyrecord_t *record,  uint8_t shortcut) {
 }
 
 
-#endif
\ No newline at end of file
+#endif
index 3067c854deb36bd56e02503ba31d4e98747bc1d9..cedd7d92bacecfa24a4714b4c8c222708e124a07 100644 (file)
@@ -9,9 +9,9 @@ and jeebak & algernon's keymap
 */
 #ifndef _babblePaste_h_included__
 #define _babblePaste_h_included__
+#include "../MS_sculpt_mobile/config.h"
 #include "action_layer.h"
 #include "quantum_keycodes.h"
-#include "config.h"
 
 #ifdef USE_BABLPASTE
 
index 8893d122e04be2b5675204802a059c4321f8fc73..4f3a425b7e8ca01101982c1b1ea9ec36711ba14a 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef CONFIG_USER_H
 #define CONFIG_USER_H
 
-#include "../../config.h"
+#include "../../../MS_sculpt_mobile/config.h"
 
 // place overrides here
 
index ab09dcdd1ce878bdb1eb2f6ee93bdedee49aa6f8..a8802c99a413a5d7683bdc51c9e9e6713ac3a0df 100644 (file)
@@ -1,4 +1,4 @@
-#include "MS-sculpt-mobile.h"
+#include "../../MS_sculpt_mobile.h"
 
 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 /* 
index 8cf4202cda2157528841bbae8f447f2a16f636e7..5c04f647c30022dfd7777bbfb395064372ccf2e6 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef CONFIG_USER_H
 #define CONFIG_USER_H
 
-#include "../../config.h"
+#include "../../../MS_sculpt_mobile/config.h"
 
 #define USE_BABLPASTE
 
index 395a9fb4706dcb98f639ebe275076ca8af6a4b00..c9a8ccdb69c0a37322de34268273e66461c1bd1d 100644 (file)
@@ -1,7 +1,7 @@
-#include "MS-sculpt-mobile.h"
+#include "../../../MS_sculpt_mobile/babblePaste.h"
+#include "../../MS_sculpt_mobile.h"
 #include "action_layer.h"
 #include "action_util.h"
-#include "babblePaste.h"
 
 #ifdef AUDIO_ENABLE
   #include "audio.h"