Search found 18 matches: #ifndef

Searched query: ifndef

by herald
28 Nov 2022, 14:01
Forum: Group buys
Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
Replies: 8700
Views: 3859196

Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards

... - Edited 'qmk_firmware/keyboards/xwhatsit/brand_new_model_f/f77/wcass/config.h' to comment out '#define DESCRIPTION' and comment out '#ifndef ...' to '#endif' - Edited 'qmk_firmware/keyboards/xwhatsit/brand_new_model_f/f77/wcass/rules.mk' to add 'NKRO_ENABLE = yes', 'LTO_ENABLE = yes', ...
by Bionicman
28 Nov 2022, 04:14
Forum: Group buys
Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
Replies: 8700
Views: 3859196

Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards

... - Edited 'qmk_firmware/keyboards/xwhatsit/brand_new_model_f/f77/wcass/config.h' to comment out '#define DESCRIPTION' and comment out '#ifndef ...' to '#endif' - Edited 'qmk_firmware/keyboards/xwhatsit/brand_new_model_f/f77/wcass/rules.mk' to add 'NKRO_ENABLE = yes', 'LTO_ENABLE = yes', ...
by BuccoBruce2
05 Jul 2022, 04:47
Forum: Group buys
Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
Replies: 8700
Views: 3859196

Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards

... those lines out in Notepad. Like so: //#define DESCRIPTION QMK firmware for the modelfkeyboards.com reproduction of the IBM Model F keyboards //#ifndef LINK_TIME_OPTIMIZATION_ENABLE // #define NO_ACTION_MACRO // #define NO_ACTION_FUNCTION //#endif Additionally, you'll see this error: Compiling: ...
by hasu
25 May 2021, 19:21
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 193449

Re: TMK keyboard firmware collection

... IS_ANY(code) (KC_A <= (code) && (code) <= 0xFF) // Use original HID usages on B0-DD instead of TMK specific codes +#define USE_ORIGINAL_HID_USAGE #ifndef USE_ORIGINAL_HID_USAGE #define IS_KEY(code) (KC_A <= (code) && (code) <= KC_EXSEL) #else
by robgongu
08 Nov 2020, 18:26
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 363262

Re: How to build your very own keyboard firmware

... 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/>. */ #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" #include "action.h" #include "action_macro.h" ...
by John Doe
06 Feb 2020, 08:15
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 193449

Re: TMK keyboard firmware collection

... \ | ^~~~~~ keymap_mario.c:23:5: note: in expansion of macro 'KEYMAP_N' 23 | KEYMAP_N( \ | ^~~~~~~~ And keymap_common.h file was defined like this: #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" #include "action.h" #include "action_macro.h" ...
by purdobol
20 Dec 2019, 23:40
Forum: Workshop
Topic: ES 110 conversion
Replies: 10
Views: 4016

Re: ES 110 conversion

... features */ //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT /* disable these deprecated features by default */ #ifndef LINK_TIME_OPTIMIZATION_ENABLE #define NO_ACTION_MACRO #define NO_ACTION_FUNCTION #endif /* * MIDI options */ /* Prevent use of disabled MIDI ...
by snacksthecat
26 Nov 2019, 09:33
Forum: Workshop
Topic: Univac Keyboard (Micro Switch) - Now USB converted via custom TMK scan module!
Replies: 73
Views: 32605

Re: Univac Keyboard (Micro Switch)

... #include <stdbool.h> #include <avr/io.h> #include <util/delay.h> #include "print.h" #include "debug.h" #include "util.h" #include "matrix.h" #ifndef DEBOUNCE # define DEBOUNCE 4 #endif static uint8_t debouncing = DEBOUNCE; /* matrix state(1:on, 0:off) */ static matrix_row_t matrix[MATRIX_ROWS]; ...
by katamari
07 Jul 2019, 10:36
Forum: Workshop
Topic: 6x4 MacroPad from scratch with ProMicro and QMK
Replies: 16
Views: 7103

Re: need help for setting up QMK env. for Windows

Hi There yep, it's defined in 6x4.h which is included into 6x4.c. Here is my 6x4.h #pragma once #ifndef SIXX4_H #define SIXX4_H #include "quantum.h" #define ___ KC_NO // This a shortcut to help you visually see your layout. // The first section contains all of the arguments ...
by snacksthecat
05 Jun 2019, 14:59
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 193449

Re: TMK keyboard firmware collection

... 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/>. */ #ifndef CONFIG_H #define CONFIG_H /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6060 #define DEVICE_VER 0x0001 ...
by snacksthecat
25 May 2019, 16:30
Forum: Workshop
Topic: Univac Keyboard (Micro Switch) - Now USB converted via custom TMK scan module!
Replies: 73
Views: 32605

Univac Keyboard (Micro Switch) - Now USB converted via custom TMK scan module!

... #include <stdbool.h> #include <avr/io.h> #include <util/delay.h> #include "print.h" #include "debug.h" #include "util.h" #include "matrix.h" #ifndef DEBOUNCE # define DEBOUNCE 4 #endif static uint8_t debouncing = DEBOUNCE; /* matrix state(1:on, 0:off) */ static matrix_row_t matrix[MATRIX_ROWS]; ...
by tackleberry
20 May 2019, 14:39
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 363262

Re: How to build your very own keyboard firmware

... #include <stdbool.h> #include <avr/io.h> #include <util/delay.h> #include "print.h" #include "debug.h" #include "util.h" #include "matrix.h" #ifndef DEBOUNCE # define DEBOUNCE 5 #endif static uint8_t debouncing = DEBOUNCE; /* matrix state(1:on, 0:off) */ static matrix_row_t matrix[MATRIX_ROWS]; ...
by Valrum
06 Mar 2019, 01:32
Forum: Workshop
Topic: First custom build, TMK issues
Replies: 0
Views: 1201

First custom build, TMK issues

... #include <stdbool.h> #include <avr/io.h> #include <util/delay.h> #include "print.h" #include "debug.h" #include "util.h" #include "matrix.h" #ifndef DEBOUNCE # define DEBOUNCE 5 #endif static uint8_t debouncing = DEBOUNCE; /* matrix state(1:on, 0:off) */ static matrix_row_t matrix[MATRIX_ROWS]; ...
by trey1901
12 Jan 2019, 09:44
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 193449

Re: TMK keyboard firmware collection

... of letters and shit. if someone would like to look at my files and maybe see if they can tell that'd be great cause im sorta at a loss. config #ifndef CONFIG_H #define CONFIG_H /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6060 #define DEVICE_VER 0x0001 ...
by trey1901
12 Jan 2019, 05:37
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 193449

Re: TMK keyboard firmware collection

... SLSH, RSFT,UP, \ LCTL,LGUI,LALT, SPC, RALT,RCTL,GRV, LEFT,DOWN,RGHT,), }; const uint16_t PROGMEM fn_actions[] = { }; here is the config file #ifndef CONFIG_H #define CONFIG_H /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED #define PRODUCT_ID 0x6060 #define DEVICE_VER 0x0001 ...
by trey1901
12 Jan 2019, 05:06
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 363262

Re: How to build your very own keyboard firmware

... N, M, COMM,DOT, SLSH, RSFT,UP,\ LCTL,LGUI,LALT, SPC, RALT,RCTL,GRV, LEFT,DOWN,RGHT\ }; const uint16_t PROGMEM fn_actions[] = { Keymap_common file #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" #include "action.h" #include "action_macro.h" ...
by trey1901
12 Jan 2019, 03:03
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 363262

Re: How to build your very own keyboard firmware

... N, M, COMM,DOT, SLSH, RSFT,UP,\ LCTL,LGUI,LALT, SPC, RALT,RCTL,GRV, LEFT,DOWN,RGHT\ }; const uint16_t PROGMEM fn_actions[] = { Keymap_common file #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" #include "action.h" #include "action_macro.h" ...
by boondaburrah
16 Dec 2013, 01:36
Forum: Keyboards
Topic: Keyboard switch failed (cherry mx) What do?
Replies: 1
Views: 1406

Keyboard switch failed (cherry mx) What do?

So I've been typing on this keyboard (Rosewill RK-9000BR) for just over a year now and the 3/octothorpe/pound/numbersign/whatever key has decided that doing nothing most of the time I press it would be more interesting than leading life as a normal, productive keyboard key. My question is, is there ...

Go to advanced search