aboutsummaryrefslogtreecommitdiff
path: root/keyboards/joshajohnson/hub16
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/joshajohnson/hub16')
-rw-r--r--keyboards/joshajohnson/hub16/keyboard.json (renamed from keyboards/joshajohnson/hub16/info.json)7
-rw-r--r--keyboards/joshajohnson/hub16/matrix.c3
-rwxr-xr-xkeyboards/joshajohnson/hub16/rules.mk13
3 files changed, 7 insertions, 16 deletions
diff --git a/keyboards/joshajohnson/hub16/info.json b/keyboards/joshajohnson/hub16/keyboard.json
index 920b42feec..7d8f0ab356 100644
--- a/keyboards/joshajohnson/hub16/info.json
+++ b/keyboards/joshajohnson/hub16/keyboard.json
@@ -37,6 +37,13 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "rgblight": true,
+ "encoder": true
+ },
"debounce": 20,
"layouts": {
"LAYOUT": {
diff --git a/keyboards/joshajohnson/hub16/matrix.c b/keyboards/joshajohnson/hub16/matrix.c
index 4f32070e66..0fe1d41dad 100644
--- a/keyboards/joshajohnson/hub16/matrix.c
+++ b/keyboards/joshajohnson/hub16/matrix.c
@@ -14,12 +14,9 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
-#include <stdbool.h>
#include "wait.h"
#include "util.h"
#include "matrix.h"
-#include "quantum.h"
// Encoder things
#define SWITCH_1 F7
diff --git a/keyboards/joshajohnson/hub16/rules.mk b/keyboards/joshajohnson/hub16/rules.mk
index 51fa8f6ee6..9a337c23b8 100755
--- a/keyboards/joshajohnson/hub16/rules.mk
+++ b/keyboards/joshajohnson/hub16/rules.mk
@@ -1,16 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
CUSTOM_MATRIX = lite # Custom scanning of matrix
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes # Rotary Encoder support
SRC = matrix.c