]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Keyboard: Clean up Iris files (#3640)
authorDanny <nooges@users.noreply.github.com>
Mon, 13 Aug 2018 19:38:49 +0000 (15:38 -0400)
committerDrashna Jaelre <drashna@live.com>
Mon, 13 Aug 2018 19:38:49 +0000 (12:38 -0700)
keyboards/iris/info.json
keyboards/iris/iris.h
keyboards/iris/rev1/config.h
keyboards/iris/rev1/rev1.c
keyboards/iris/rev1/rev1.h
keyboards/iris/rev1_led/config.h
keyboards/iris/rev1_led/rev1_led.c
keyboards/iris/rev1_led/rev1_led.h
keyboards/iris/rev2/config.h
keyboards/iris/rev2/rev2.h
keyboards/iris/rules.mk

index a26ffae87a1f7ea2779788272f24fad4d086eaa0..f7b017b97accc9489315c4240a0cae9cc0dc7241 100644 (file)
@@ -1,9 +1,9 @@
 {
-    "keyboard_name": "Iris", 
-    "url": "Keeb.io", 
-    "maintainer": "qmk", 
-    "width": 14.5, 
-    "height": 5, 
+    "keyboard_name": "Iris",
+    "url": "https://keeb.io",
+    "maintainer": "Keebio",
+    "width": 14.5,
+    "height": 5,
     "layouts": {
         "LAYOUT": {
             "layout": [
index 56ba15473b2d8baf9a32a7f77faa27a94edc5a60..8d33b6b21788ca11538b3bee4078677cf0da339c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef IRIS_H
-#define IRIS_H
+#pragma once
 
 #ifdef KEYBOARD_iris_rev1
     #include "rev1.h"
@@ -26,5 +25,3 @@
         KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##LT4, KC_##RT4, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35, \
                                                 KC_##LT1, KC_##LT2, KC_##LT3, KC_##RT3, KC_##RT2, KC_##RT1 \
     )
-
-#endif
index c22d49b262650760665bc2f8f9211d9b1b6aea59..fd9b2ced39a59c7ada733952cee46281c1a05fdd 100644 (file)
@@ -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 REV1_CONFIG_H
-#define REV1_CONFIG_H
+#pragma once
 
 #include QMK_KEYBOARD_CONFIG_H
 
@@ -86,5 +85,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-
-#endif
index 3fdfaa94bc6781f058b226e07500dde3f9844657..fe91fa3ead1745c7b8ddc51c05dac1f018bc391f 100644 (file)
@@ -1,6 +1,5 @@
 #include "rev1.h"
 
-
 #ifdef SSD1306OLED
 void led_set_kb(uint8_t usb_led) {
     // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
index 4db6bd1973236a937a86fbaaf62b0a588e939912..da5c9cdc036291b422067e08048f8b62d6c0267e 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef REV1_H
-#define REV1_H
+#pragma once
 
 #include "iris.h"
 
@@ -36,5 +35,3 @@
         { R35, R34, R33, R32, R31, R30 }, \
         { KC_NO, KC_NO, RT4, RT1, RT2, RT3 } \
     }
-
-#endif
index 957776022e63c3fe15b207ad6f4b08cc9512c65f..18d783ae7991e45b76fe9a4b43e274cd57a3452a 100644 (file)
@@ -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 REV1_CONFIG_H
-#define REV1_CONFIG_H
+#pragma once
 
 #include QMK_KEYBOARD_CONFIG_H
 
@@ -86,5 +85,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-
-#endif
index 681625f4b0813f90820f1911f47230fd482c45bb..d08eaea6621ccda0b6e39b35bf22582c70178fe8 100644 (file)
@@ -1,6 +1,5 @@
 #include "rev1_led.h"
 
-
 #ifdef SSD1306OLED
 void led_set_kb(uint8_t usb_led) {
     // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
index bac5e7bec34ef78b67eb691a359c7810dc4b2daa..da5c9cdc036291b422067e08048f8b62d6c0267e 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef REV1_LED_H
-#define REV1_LED_H
+#pragma once
 
 #include "iris.h"
 
@@ -36,5 +35,3 @@
         { R35, R34, R33, R32, R31, R30 }, \
         { KC_NO, KC_NO, RT4, RT1, RT2, RT3 } \
     }
-
-#endif
index 4aa8cda176bf433c7d5645f3a512d69c5c9f0619..2ea31a1541bec9b44b71fa4efacd9b9f89ea9ad4 100644 (file)
@@ -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 REV1_CONFIG_H
-#define REV1_CONFIG_H
+#pragma once
 
 #include QMK_KEYBOARD_CONFIG_H
 
@@ -86,5 +85,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_ONESHOT
 //#define NO_ACTION_MACRO
 //#define NO_ACTION_FUNCTION
-
-#endif
index d581b346d131879abc83b02e47ccd718e3366bc8..da5c9cdc036291b422067e08048f8b62d6c0267e 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef REV2_H
-#define REV2_H
+#pragma once
 
 #include "iris.h"
 
@@ -36,5 +35,3 @@
         { R35, R34, R33, R32, R31, R30 }, \
         { KC_NO, KC_NO, RT4, RT1, RT2, RT3 } \
     }
-
-#endif
index 07d78059ea242736b5dfad37719a366cbd5cb54f..fa261adc6f81e98c45bcf8eee8b2fca080537f5d 100644 (file)
@@ -1,5 +1,4 @@
 # MCU name
-#MCU = at90usb1287
 MCU = atmega32u4
 
 # Processor frequency.
@@ -36,7 +35,7 @@ F_USB = $(F_CPU)
 
 # Bootloader
 #     This definition is optional, and if your keyboard supports multiple bootloaders of
-#     different sizes, comment this out, and the correct address will be loaded 
+#     different sizes, comment this out, and the correct address will be loaded
 #     automatically (+60). See bootloader.mk for all options.
 BOOTLOADER = caterina
 
@@ -59,8 +58,6 @@ AUDIO_ENABLE = no           # Audio output on port C6
 UNICODE_ENABLE = no         # Unicode
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
-SUBPROJECT_rev1 = yes
-USE_I2C = yes
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend