aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dc01/numpad
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dc01/numpad')
-rw-r--r--keyboards/dc01/numpad/config.h56
-rw-r--r--keyboards/dc01/numpad/info.json24
-rw-r--r--keyboards/dc01/numpad/keymaps/default/keymap.c44
-rw-r--r--keyboards/dc01/numpad/keymaps/ortho_5x4/keymap.c40
-rw-r--r--keyboards/dc01/numpad/keymaps/via/keymap.c46
-rw-r--r--keyboards/dc01/numpad/keymaps/via/readme.md3
-rwxr-xr-xkeyboards/dc01/numpad/keymaps/via/rules.mk1
-rw-r--r--keyboards/dc01/numpad/matrix.c19
-rw-r--r--keyboards/dc01/numpad/numpad.c27
-rw-r--r--keyboards/dc01/numpad/numpad.h14
-rw-r--r--keyboards/dc01/numpad/rules.mk2
11 files changed, 100 insertions, 176 deletions
diff --git a/keyboards/dc01/numpad/config.h b/keyboards/dc01/numpad/config.h
index e8b5d2b57..87c73ebc2 100644
--- a/keyboards/dc01/numpad/config.h
+++ b/keyboards/dc01/numpad/config.h
@@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20#include "config_common.h" 20#include "config_common.h"
21 21
22/* USB Device descriptor parameter */ 22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED 23#define VENDOR_ID 0x8968
24#define PRODUCT_ID 0x1013 24#define PRODUCT_ID 0x1013
25#define DEVICE_VER 0x0001 25#define DEVICE_VER 0x0001
26#define MANUFACTURER Mechboards 26#define MANUFACTURER Mechboards
@@ -47,10 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
47/* COL2ROW, ROW2COL*/ 47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION COL2ROW 48#define DIODE_DIRECTION COL2ROW
49 49
50// #define BACKLIGHT_PIN B7
51// #define BACKLIGHT_BREATHING
52// #define BACKLIGHT_LEVELS 3
53
54/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 50/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
55#define DEBOUNCE 5 51#define DEBOUNCE 5
56 52
@@ -89,53 +85,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
89 * 85 *
90 */ 86 */
91//#define FORCE_NKRO 87//#define FORCE_NKRO
92
93/*
94 * Magic Key Options
95 *
96 * Magic keys are hotkey commands that allow control over firmware functions of
97 * the keyboard. They are best used in combination with the HID Listen program,
98 * found here: https://www.pjrc.com/teensy/hid_listen.html
99 *
100 * The options below allow the magic key functionality to be changed. This is
101 * useful if your keyboard/keypad is missing keys and you want magic key support.
102 *
103 */
104
105/*
106 * Feature disable options
107 * These options are also useful to firmware size reduction.
108 */
109
110/* disable debug print */
111//#define NO_DEBUG
112
113/* disable print */
114//#define NO_PRINT
115
116/* disable action features */
117//#define NO_ACTION_LAYER
118//#define NO_ACTION_TAPPING
119//#define NO_ACTION_ONESHOT
120//#define NO_ACTION_MACRO
121//#define NO_ACTION_FUNCTION
122
123/*
124 * MIDI options
125 */
126
127/* enable basic MIDI features:
128 - MIDI notes can be sent when in Music mode is on
129*/
130//#define MIDI_BASIC
131
132/* enable advanced MIDI features:
133 - MIDI notes can be added to the keymap
134 - Octave shift and transpose
135 - Virtual sustain, portamento, and modulation wheel
136 - etc.
137*/
138//#define MIDI_ADVANCED
139
140/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
141//#define MIDI_TONE_KEYCODE_OCTAVES 1 \ No newline at end of file
diff --git a/keyboards/dc01/numpad/info.json b/keyboards/dc01/numpad/info.json
index 9e593848f..047065cb6 100644
--- a/keyboards/dc01/numpad/info.json
+++ b/keyboards/dc01/numpad/info.json
@@ -1,15 +1,15 @@
1{ 1{
2 "keyboard_name": "DC01 Numpad", 2 "keyboard_name": "DC01 Numpad",
3 "url": "", 3 "url": "",
4 "maintainer": "qmk", 4 "maintainer": "Yiancar-Designs",
5 "width": 4, 5 "width": 4,
6 "height": 5, 6 "height": 5,
7 "layouts": { 7 "layouts": {
8 "LAYOUT_numpad_5x4": { 8 "LAYOUT_numpad_5x4": {
9 "layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":1, "h":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"0", "x":0, "y":4, "w":2}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":3, "h":2}] 9 "layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":1, "h":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"0", "x":0, "y":4, "w":2}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":3, "h":2}]
10 }, 10 },
11 "LAYOUT_ortho_5x4": { 11 "LAYOUT_ortho_5x4": {
12 "layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"+", "x":3, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"Enter", "x":3, "y":3}, {"label":"0", "x":0, "y":4}, {"label":"00", "x":1, "y":4}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":4}] 12 "layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"+", "x":3, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"Enter", "x":3, "y":3}, {"label":"0", "x":0, "y":4}, {"label":"00", "x":1, "y":4}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":4}]
13 }
13 } 14 }
14 }
15} 15}
diff --git a/keyboards/dc01/numpad/keymaps/default/keymap.c b/keyboards/dc01/numpad/keymaps/default/keymap.c
index 6c88d445f..8f2fb89b9 100644
--- a/keyboards/dc01/numpad/keymaps/default/keymap.c
+++ b/keyboards/dc01/numpad/keymaps/default/keymap.c
@@ -16,35 +16,17 @@
16#include QMK_KEYBOARD_H 16#include QMK_KEYBOARD_H
17 17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_numpad_5x4( 19[0] = LAYOUT_numpad_5x4(
20 TG(1), KC_PSLS, KC_PAST, KC_PMNS, \ 20 TG(1), KC_PSLS, KC_PAST, KC_PMNS,
21 KC_P7, KC_P8, KC_P9, \ 21 KC_P7, KC_P8, KC_P9,
22 KC_P4, KC_P5, KC_P6, KC_PPLS, \ 22 KC_P4, KC_P5, KC_P6, KC_PPLS,
23 KC_P1, KC_P2, KC_P3, \ 23 KC_P1, KC_P2, KC_P3,
24 KC_P0, KC_PDOT, KC_PENT \ 24 KC_P0, KC_PDOT, KC_PENT ),
25 ), 25
26 26[1] = LAYOUT_numpad_5x4(
27 [1] = LAYOUT_numpad_5x4( 27 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
28 _______, _______, _______, _______, \ 28 KC_HOME, KC_UP, KC_PGUP,
29 KC_HOME, KC_UP, KC_PGUP, \ 29 KC_LEFT, KC_NO, KC_RGHT, KC_TRNS,
30 KC_LEFT, XXXXXXX, KC_RGHT, _______, \ 30 KC_END, KC_DOWN, KC_PGDN,
31 KC_END, KC_DOWN, KC_PGDN, \ 31 KC_INS, KC_DEL, KC_TRNS),
32 KC_INS, KC_DEL, _______ \
33 ),
34}; 32};
35
36void matrix_init_user(void) {
37
38}
39
40void matrix_scan_user(void) {
41
42}
43
44bool process_record_user(uint16_t keycode, keyrecord_t *record) {
45 return true;
46}
47
48void led_set_user(uint8_t usb_led) {
49
50}
diff --git a/keyboards/dc01/numpad/keymaps/ortho_5x4/keymap.c b/keyboards/dc01/numpad/keymaps/ortho_5x4/keymap.c
index 133f33cb0..c8c387646 100644
--- a/keyboards/dc01/numpad/keymaps/ortho_5x4/keymap.c
+++ b/keyboards/dc01/numpad/keymaps/ortho_5x4/keymap.c
@@ -20,31 +20,21 @@ enum custom_keycodes {
20}; 20};
21 21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23 [0] = LAYOUT_ortho_5x4( 23 [0] = LAYOUT_ortho_5x4(
24 TG(1), KC_PSLS, KC_PAST, KC_PMNS, \ 24 TG(1), KC_PSLS, KC_PAST, KC_PMNS,
25 KC_P7, KC_P8, KC_P9, KC_PPLS, \ 25 KC_P7, KC_P8, KC_P9, KC_PPLS,
26 KC_P4, KC_P5, KC_P6, KC_PPLS, \ 26 KC_P4, KC_P5, KC_P6, KC_PPLS,
27 KC_P1, KC_P2, KC_P3, KC_PENT, \ 27 KC_P1, KC_P2, KC_P3, KC_PENT,
28 KC_P0, KC_P00, KC_PDOT, KC_PENT \ 28 KC_P0, KC_P00, KC_PDOT, KC_PENT),
29 ), 29
30 30 [1] = LAYOUT_ortho_5x4(
31 [1] = LAYOUT_ortho_5x4( 31 _______, _______, _______, _______,
32 _______, _______, _______, _______, \ 32 KC_HOME, KC_UP, KC_PGUP, _______,
33 KC_HOME, KC_UP, KC_PGUP, _______, \ 33 KC_LEFT, XXXXXXX, KC_RGHT, _______,
34 KC_LEFT, XXXXXXX, KC_RGHT, _______, \ 34 KC_END, KC_DOWN, KC_PGDN, _______,
35 KC_END, KC_DOWN, KC_PGDN, _______, \ 35 KC_INS, XXXXXXX, KC_DEL, _______)
36 KC_INS, XXXXXXX, KC_DEL, _______ \
37 ),
38}; 36};
39 37
40void matrix_init_user(void) {
41
42}
43
44void matrix_scan_user(void) {
45
46}
47
48bool process_record_user(uint16_t keycode, keyrecord_t *record) { 38bool process_record_user(uint16_t keycode, keyrecord_t *record) {
49 if (record->event.pressed) { 39 if (record->event.pressed) {
50 switch(keycode) { 40 switch(keycode) {
@@ -56,7 +46,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
56 } 46 }
57 return true; 47 return true;
58}; 48};
59
60void led_set_user(uint8_t usb_led) {
61
62}
diff --git a/keyboards/dc01/numpad/keymaps/via/keymap.c b/keyboards/dc01/numpad/keymaps/via/keymap.c
new file mode 100644
index 000000000..bb4c17c3f
--- /dev/null
+++ b/keyboards/dc01/numpad/keymaps/via/keymap.c
@@ -0,0 +1,46 @@
1/* Copyright 2018 Yiancar
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19[0] = LAYOUT_ortho_5x4( /* Base */
20 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
21 KC_P7, KC_P8, KC_P9, KC_PPLS,
22 KC_P4, KC_P5, KC_P6, KC_PPLS,
23 KC_P1, KC_P2, KC_P3, KC_PENT,
24 KC_P0, KC_P0, KC_PDOT, KC_PENT),
25
26[1] = LAYOUT_ortho_5x4( /* Empty for Dynamic keymap */
27 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
32
33[2] = LAYOUT_ortho_5x4( /* Empty for Dynamic keymap */
34 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
35 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
39
40[3] = LAYOUT_ortho_5x4( /* Empty for Dynamic keymap */
41 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
42 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
43 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
44 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
46};
diff --git a/keyboards/dc01/numpad/keymaps/via/readme.md b/keyboards/dc01/numpad/keymaps/via/readme.md
new file mode 100644
index 000000000..b2d32d9d2
--- /dev/null
+++ b/keyboards/dc01/numpad/keymaps/via/readme.md
@@ -0,0 +1,3 @@
1# The default VIA keymap for DC01 Arrow cluster
2
3When using the arrow module individually, this keymap will take effect. When using the keyboard as a whole please edit the keymap of the left module.
diff --git a/keyboards/dc01/numpad/keymaps/via/rules.mk b/keyboards/dc01/numpad/keymaps/via/rules.mk
new file mode 100755
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/dc01/numpad/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/dc01/numpad/matrix.c b/keyboards/dc01/numpad/matrix.c
index 1eba58cc7..38130114e 100644
--- a/keyboards/dc01/numpad/matrix.c
+++ b/keyboards/dc01/numpad/matrix.c
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
32#include "i2c_slave.h" 32#include "i2c_slave.h"
33#include "lufa.h" 33#include "lufa.h"
34 34
35#define SLAVE_I2C_ADDRESS 0x21 35#define SLAVE_I2C_ADDRESS 0x36
36 36
37/* Set 0 if debouncing isn't needed */ 37/* Set 0 if debouncing isn't needed */
38 38
@@ -196,12 +196,10 @@ uint8_t matrix_scan(void)
196 } 196 }
197# endif 197# endif
198 198
199 if (USB_DeviceState != DEVICE_STATE_Configured){ 199 i2c_slave_reg[1] = 0x55;
200 i2c_slave_reg[1] = 0x55; 200 for (uint8_t i = 0; i < MATRIX_ROWS; i++){
201 for (uint8_t i = 0; i < MATRIX_ROWS; i++){ 201 i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c
202 i2c_slave_reg[i+2] = matrix[i]; //send matrix over i2c 202 }
203 }
204 }
205 203
206 matrix_scan_quantum(); 204 matrix_scan_quantum();
207 return 1; 205 return 1;
@@ -396,9 +394,6 @@ static void unselect_cols(void)
396 394
397//this replases tmk code 395//this replases tmk code
398void matrix_setup(void){ 396void matrix_setup(void){
399 397 i2c_slave_init(SLAVE_I2C_ADDRESS); //setup address of slave i2c
400 if (USB_DeviceState != DEVICE_STATE_Configured){ 398 sei(); //enable interupts
401 i2c_slave_init(SLAVE_I2C_ADDRESS); //setup address of slave i2c
402 sei(); //enable interupts
403 }
404} \ No newline at end of file 399} \ No newline at end of file
diff --git a/keyboards/dc01/numpad/numpad.c b/keyboards/dc01/numpad/numpad.c
index 04d0a33af..2599f6320 100644
--- a/keyboards/dc01/numpad/numpad.c
+++ b/keyboards/dc01/numpad/numpad.c
@@ -14,30 +14,3 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "numpad.h" 16#include "numpad.h"
17
18void matrix_init_kb(void) {
19 // put your keyboard start-up code here
20 // runs once when the firmware starts up
21
22 matrix_init_user();
23}
24
25void matrix_scan_kb(void) {
26 // put your looping keyboard code here
27 // runs every cycle (a lot)
28
29 matrix_scan_user();
30}
31
32bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
33 // put your per-action keyboard code here
34 // runs for every action, just before processing by the firmware
35
36 return process_record_user(keycode, record);
37}
38
39void led_set_kb(uint8_t usb_led) {
40 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
41
42 led_set_user(usb_led);
43}
diff --git a/keyboards/dc01/numpad/numpad.h b/keyboards/dc01/numpad/numpad.h
index 702926184..110f893b4 100644
--- a/keyboards/dc01/numpad/numpad.h
+++ b/keyboards/dc01/numpad/numpad.h
@@ -13,24 +13,19 @@
13 * You should have received a copy of the GNU General Public License 13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#ifndef NUMPAD_H 16#pragma once
17#define NUMPAD_H
18 17
19#include "quantum.h" 18#include "quantum.h"
20 19
21#define XXX KC_NO 20#define XXX KC_NO
22 21
23// This a shortcut to help you visually see your layout.
24// The first section contains all of the arguments
25// The second converts the arguments into a two-dimensional array
26#define LAYOUT_numpad_5x4( \ 22#define LAYOUT_numpad_5x4( \
27 K00, K01, K02, K03, \ 23 K00, K01, K02, K03, \
28 K10, K11, K12, \ 24 K10, K11, K12, \
29 K20, K21, K22, K13, \ 25 K20, K21, K22, K13, \
30 K30, K31, K32, \ 26 K30, K31, K32, \
31 K40, K42, K43 \ 27 K40, K42, K43 \
32) \ 28) { \
33{ \
34 { K00, K01, K02, K03 }, \ 29 { K00, K01, K02, K03 }, \
35 { K10, K11, K12, K13 }, \ 30 { K10, K11, K12, K13 }, \
36 { K20, K21, K22, XXX }, \ 31 { K20, K21, K22, XXX }, \
@@ -44,13 +39,10 @@
44 K20, K21, K22, K23, \ 39 K20, K21, K22, K23, \
45 K30, K31, K32, K33, \ 40 K30, K31, K32, K33, \
46 K40, K41, K42, K43 \ 41 K40, K41, K42, K43 \
47) \ 42) { \
48{ \
49 { K00, K01, K02, K03 }, \ 43 { K00, K01, K02, K03 }, \
50 { K10, K11, K12, K13 }, \ 44 { K10, K11, K12, K13 }, \
51 { K20, K21, K22, K23 }, \ 45 { K20, K21, K22, K23 }, \
52 { K30, K31, K32, K33 }, \ 46 { K30, K31, K32, K33 }, \
53 { K40, K41, K42, K43 } \ 47 { K40, K41, K42, K43 } \
54} 48}
55
56#endif
diff --git a/keyboards/dc01/numpad/rules.mk b/keyboards/dc01/numpad/rules.mk
index 619a7cc51..b60a646e1 100644
--- a/keyboards/dc01/numpad/rules.mk
+++ b/keyboards/dc01/numpad/rules.mk
@@ -14,7 +14,7 @@ BOOTLOADER = atmel-dfu
14# Build Options 14# Build Options
15# change yes to no to disable 15# change yes to no to disable
16# 16#
17BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration 17BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys 18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control 19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = no # Console for debug 20CONSOLE_ENABLE = no # Console for debug