Search found 26 matches: #endif

Searched query: endif

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: 8689
Views: 3824376

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

... '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', 'HAPTIC_ENABLE ...
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: 8689
Views: 3824376

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

... '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', 'HAPTIC_ENABLE ...
by Kugelkopf
05 Jul 2022, 16:27
Forum: Group buys
Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
Replies: 8689
Views: 3824376

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

... nested inside the quantum_keycodes enum in quantum_keycodes.h: MI_VEL_0, // 5C92 #ifdef VIA_ENABLE MI_VEL_1 = MI_VEL_0, #else MI_VEL_1, // 5C93 #endif MI_VEL_2, // 5C94 Since VIA_ENABLE causes MI_VEL_1 to = MI_VEL_0 which is 5C92, the numbering within the enum restarts at that point, causing ...
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: 8689
Views: 3824376

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

... 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: keyboards/xwhatsit/util_comm.c keyboards/xwhatsit/util_comm.c:22:10: fatal error: tmk_core/common/eeprom.h: ...
by DannyVdH
10 Jun 2022, 23:57
Forum: Keyboards
Topic: ADAM Keyboard Teensy 4.0
Replies: 1
Views: 794

ADAM Keyboard Teensy 4.0

... // underlying hardware UART for Serial1 void send_command(uint8_t command) { #if DEBUG_ADAMNET Serial.print("S: "); Serial.println(command, HEX); #endif s_pkuart->CTRL |= LPUART_CTRL_TXDIR; // Set in to TX Mode... Serial1.write(command); Serial1.flush(); // Wait for transmit complete. s_pkuart->CTRL ...
by NathanA
28 May 2022, 03:46
Forum: Group buys
Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
Replies: 8689
Views: 3824376

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

... nested inside the quantum_keycodes enum in quantum_keycodes.h: MI_VEL_0, // 5C92 #ifdef VIA_ENABLE MI_VEL_1 = MI_VEL_0, #else MI_VEL_1, // 5C93 #endif MI_VEL_2, // 5C94 Since VIA_ENABLE causes MI_VEL_1 to = MI_VEL_0 which is 5C92, the numbering within the enum restarts at that point, causing ...
by Alectardy98
05 Jan 2021, 19:00
Forum: Keyboards
Topic: TMK Help/Question
Replies: 5
Views: 1589

Re: TMK Help/Question

... __attribute__ ((section (".keymap.keymaps"))) = { #else const action_t actionmaps[][UNIMAP_ROWS][UNIMAP_COLS] PROGMEM = { #endif UNIMAP( TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, DEL, ESC, FN9, F23, F24, FN8, FN7, FN4, FN3, FN2, FN1,TRNS,TRNS, SLCK,FN10,TRNS, ...
by robgongu
08 Nov 2020, 18:26
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 361491

Re: How to build your very own keyboard firmware

... K29, K2A, K2B, NO, K2D, \ K30, NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \ K40, K41, K42, K45, K49, K4A, K4B, K4C, K4D \ ) #endif Makefile: # Target file name (without extension). TARGET = gh60_lufa # Directory common source filess exist TMK_DIR = ../../tmk_core # Directory ...
by warty
30 Aug 2020, 20:50
Forum: Group buys
Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
Replies: 8689
Views: 3824376

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

... dac_write_threshold(CAPSENSE_HARDCODED_THRESHOLD); dac_write_threshold(CAPSENSE_HARDCODED_THRESHOLD); #endif and I can see the hardcoded threshold is defined to 142. I can see the design allows for finer grain setting, but I haven't looked deep enough ...
by bsdice
29 Jun 2020, 13:26
Forum: Workshop
Topic: TMK IBM PC Keyboard Converter
Replies: 27
Views: 17745

Re: TMK IBM PC Keyboard Converter

... 1 + + #if 0 // Leonardo #define LEDS_RX_PORT PORTB @@ -110,7 +129,9 @@ extern "C" { #define LEDS_TX_ACTIVE 0 #define LEDS_L_ACTIVE 1 -#else +#endif + +#if 0 // WxRecorder (LED_L not implemented) #define LEDS_RX_PORT PORTB @@ -173,7 +194,7 @@ These functions are purposely NOT inline #if !defined(__DOXYGEN__) ...
by hasu
28 May 2020, 16:02
Forum: Workshop
Topic: HP-HIL
Replies: 11
Views: 5700

Re: HP-HIL

... 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -974,7 +974,9 @@ int main(void) { virtser_init(); #endif + wait_ms(4000); print("Keyboard start.\n"); + USB_Device_DisableSOFEvents(); while (1) { #if !defined(NO_USB_STARTUP_CHECK) while (USB_DeviceState ...
by John Doe
06 Feb 2020, 08:15
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 190887

Re: TMK keyboard firmware collection

... K63, K64, K65, K66, K67, \ K68, K69, K6A, K6B, K6C, K6D, K6E, K6F, \ K70, K71, K72, K73, K74, K75, K76, K77, \ K78, K79, K7A, K7B, K7E, K7F \ ) #endif The keymap_mario.c file was here, and the specific keys will be changed then if compiling without error, just for test now. #include "keymap_common.h" ...
by purdobol
20 Dec 2019, 23:40
Forum: Workshop
Topic: ES 110 conversion
Replies: 10
Views: 3951

Re: ES 110 conversion

... use exp() and sin() ====*/ // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 // #endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 /* define if matrix has ghost ...
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: 32154

Re: Univac Keyboard (Micro Switch)

... #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]; static matrix_row_t matrix_debouncing[MATRIX_ROWS]; ...
by katamari
07 Jul 2019, 10:36
Forum: Workshop
Topic: 6x4 MacroPad from scratch with ProMicro and QMK
Replies: 16
Views: 7055

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

... \ { K10, K11, K12, K13, K14, K15}, \ { K20, K21, K22, K23, K24, K25}, \ { K30, K31, K32, K33, K34, K35}, \ { K40, K41, K42, K43, K44, K45} \ } #endif I think I'll start over, from a working template, making sure the code compiles after every step. Gonna take some time :roll: Btw, where are ...
by snacksthecat
05 Jun 2019, 14:59
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 190887

Re: TMK keyboard firmware collection

... */ //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION #endif matrix.c /* Copyright 2012 Jun Wako <wakojun@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms ...
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: 32154

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

... #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]; static matrix_row_t matrix_debouncing[MATRIX_ROWS]; ...
by tackleberry
20 May 2019, 14:39
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 361491

Re: How to build your very own keyboard firmware

... #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]; static matrix_row_t matrix_debouncing[MATRIX_ROWS]; ...
by Valrum
06 Mar 2019, 01:32
Forum: Workshop
Topic: First custom build, TMK issues
Replies: 0
Views: 1190

First custom build, TMK issues

... #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]; static matrix_row_t matrix_debouncing[MATRIX_ROWS]; ...
by trey1901
12 Jan 2019, 09:44
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 190887

Re: TMK keyboard firmware collection

... */ //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION #endif keymap common #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" #include "action.h" ...
by trey1901
12 Jan 2019, 05:37
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 190887

Re: TMK keyboard firmware collection

... */ //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO //#define NO_ACTION_FUNCTION #endif and finally the keymap common file #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" ...
by trey1901
12 Jan 2019, 05:06
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 361491

Re: How to build your very own keyboard firmware

... K29, K2A, K2B, NO, K2D, \ K30, NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \ K40, K41, K42, K45, K49, K4A, K4B, K4C, K4D \ ) #endif and the matrix file ]#include <stdint.h> #include <stdbool.h> #include <avr/io.h> #include <util/delay.h> #include "print.h" #include "debug.h" ...
by trey1901
12 Jan 2019, 03:03
Forum: Workshop
Topic: How to build your very own keyboard firmware
Replies: 711
Views: 361491

Re: How to build your very own keyboard firmware

... K29, K2A, K2B, NO, K2D, \ K30, NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \ K40, K41, K42, K45, K49, K4A, K4B, K4C, K4D \ ) #endif and the matrix file ]#include <stdint.h> #include <stdbool.h> #include <avr/io.h> #include <util/delay.h> #include "print.h" #include "debug.h" ...
by tentator
18 Feb 2016, 01:07
Forum: Workshop
Topic: Connecting thinkpad trackpoint mouse+buttons to teensy 2
Replies: 10
Views: 9411

... do { \ EIMSK |= (1<<INT1); \ } while (0) #define PS2_INT_OFF() do { \ EIMSK &= ~(1<<INT1); \ } while (0) #define PS2_INT_VECT INT1_vect #endif also in section 3) I think there is an endif too much in the end (I mean if you have to copy paste it in an existing config.h that doesn't have ...
by zambasdvd
09 Dec 2014, 20:14
Forum: Workshop
Topic: Rebuilding and Redesigning a Classic Thinkpad Keyboard
Replies: 108
Views: 30311

... KC_##K52, KC_NO, KC_NO, KC_NO, KC_##K56, KC_NO, KC_NO, KC_##K59, KC_##K5A, KC_##K5B, KC_##K5C, KC_##K5D, KC_##K5E, KC_##K5F, KC_##K5G,} \ } #endif From keymap poker. c: #include "keymap_common.h" const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* 0: qwerty */ KEYMAP(ESC, F1, ...
by idollar
02 Nov 2014, 13:37
Forum: Workshop
Topic: TMK keyboard firmware collection
Replies: 339
Views: 190887

... CAPS_LOCK_LED_ENABLE #define CAPS_LOCK_LED_PORT PORTF #define CAPS_LOCK_LED_PIN PINF #define CAPS_LOCK_LED_DDR DDRF #define CAPS_LOCK_LED_BIT 6 #endif #ifdef NUM_LOCK_LED_ENABLE #define NUM_LOCK_LED_PORT PORTF #define NUM_LOCK_LED_PIN PINF #define NUM_LOCK_LED_DDR DDRF #define NUM_LOCK_LED_BIT ...

Go to advanced search