Search found 15 matches: #ifdef
Searched query: ifdef
- 23 Aug 2023, 06:33
- Forum: Group buys
- Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
- Replies: 8695
- Views: 3829214
Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards
... exhaustively researched the exact history that led to this, but since the two different definitions of MI_VEL_1 are encased within a preprocessor #ifdef checking for "VIA_ENABLE", it's safe to assume that at one point in QMK's history, EEPROM_RESET (for example) actually was 0x5CDE originally. ...
- 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: 8695
- Views: 3829214
Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards
... looks to be a VIA bug, and since Vial is built atop the QMK VIA (firmware-side) code, it inherited this bug. Looks like the problem is due to this #ifdef block 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, ...
- 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: 8695
- Views: 3829214
Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards
... looks to be a VIA bug, and since Vial is built atop the QMK VIA (firmware-side) code, it inherited this bug. Looks like the problem is due to this #ifdef block 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, ...
- 21 Feb 2022, 14:47
- Forum: Keyboards
- Topic: IBM model M converter and QMK firmware
- Replies: 2
- Views: 1479
IBM model M converter and QMK firmware
... D1, as TMK/Soarer's does. I've modified keyboards/converter/ibm_terminal/config.h file as follows: /* * PS/2 USART configuration for ATMega32U4 */ #ifdef PS2_USE_USART /* XCK for clock line */ #define PS2_CLOCK_PIN D1 #define PS2_DATA_PIN D0 I don't now if the problem origin is use a promicro instead ...
- 26 Oct 2021, 08:16
- Forum: Group buys
- Topic: F104+SSK+122+62+77+50+Ergo orders now open! New Kishsaver+Industrial Model F Keyboards
- Replies: 8695
- Views: 3829214
Re: F62+F77 orders now open! New Kishsaver+Industrial Model F Keyboards
... in layers.c is < 1 (because some variables referenced by functions are never declared since their declarations are sandwiched in between an #ifdef block checking for LAYER_COUNT > 0), and the default is 0. Hope this helps!
- 05 Jan 2021, 19:00
- Forum: Keyboards
- Topic: TMK Help/Question
- Replies: 5
- Views: 1594
Re: TMK Help/Question
... ) : MACRO_NONE ); case 11: //Double Zero return (record->event.pressed ? MACRO( I(0), T(P0), T(P0), END ) : MACRO_NONE ); } return MACRO_NONE; } #ifdef KEYMAP_SECTION_ENABLE const action_t actionmaps[][UNIMAP_ROWS][UNIMAP_COLS] __attribute__ ((section (".keymap.keymaps"))) = { #else const action_t ...
- 08 Nov 2020, 18:26
- Forum: Workshop
- Topic: How to build your very own keyboard firmware
- Replies: 711
- Views: 361713
Re: How to build your very own keyboard firmware
Edit: Don't ignore LED's pin if you are not using it ;) haha, working! Hi! I may be late on this post too, but i'm trying and it compiled ok, but it presses random keys in the moment i connect it. Teensy is not soldered to any cable, so no shorts possible. If someone could check would be great!: key...
- 29 Jun 2020, 13:26
- Forum: Workshop
- Topic: TMK IBM PC Keyboard Converter
- Replies: 27
- Views: 17781
Re: TMK IBM PC Keyboard Converter
Hey there, I just built a TMK ps2_usb converter out of this Pro Micro clone from ebay: Pro_Micro_01.jpg At first I contemplated just buying a converter from anywhere, but I could already smell bugs with ISO-DE layout and non-configurability even before hitting the Buy-button. So I went with this. Fo...
- 20 Dec 2019, 23:40
- Forum: Workshop
- Topic: ES 110 conversion
- Replies: 10
- Views: 3957
Re: ES 110 conversion
... E6 // or D1, D2, D3, E6 // #define BACKLIGHT_PIN B7 // #define BACKLIGHT_BREATHING // #define BACKLIGHT_LEVELS 3 // #define RGB_DI_PIN E2 // #ifdef RGB_DI_PIN // #define RGBLED_NUM 16 // #define RGBLIGHT_HUE_STEP 8 // #define RGBLIGHT_SAT_STEP 8 // #define RGBLIGHT_VAL_STEP 8 // #define RGBLIGHT_LIMIT_VAL ...
- 05 Jun 2019, 14:59
- Forum: Workshop
- Topic: TMK keyboard firmware collection
- Replies: 339
- Views: 191202
Re: TMK keyboard firmware collection
Hi, I'm hoping someone may be able to help me. I'm facing an issue that I haven't seen before. I made a PCB that uses atmega32u4 MCU. I built TMK starting from the gh60 project and modifying it to my board. TMK builds appears to build fine with no warnings. Flashing also looks to be successful, eith...
- 20 May 2019, 14:39
- Forum: Workshop
- Topic: How to build your very own keyboard firmware
- Replies: 711
- Views: 361713
Re: How to build your very own keyboard firmware
Thanks a lot, Matrix.c : /* * scan matrix */ #include <stdint.h> #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 st...
- 22 Apr 2016, 17:25
- Forum: Workshop
- Topic: How to build your very own keyboard firmware
- Replies: 711
- Views: 361713
Do you have keymap_poker.c in the "SRC = ..." list in the Makefile? Yes I do, my Makefile is as follow: #---------------------------------------------------------------------------- # On command line: # # make all = Make software. # # make clean = Clean out built project files. # # make coff = Conv...
- 06 Jan 2015, 22:39
- Forum: Workshop
- Topic: TMK keyboard firmware collection
- Replies: 339
- Views: 191202
- 09 Dec 2014, 20:14
- Forum: Workshop
- Topic: Rebuilding and Redesigning a Classic Thinkpad Keyboard
- Replies: 108
- Views: 30352
Hi and congratulations for this wonderful scene. I have some problems with creating the hex file to burn on my teensy. I am trying to make a tenkeyless keyboard using alps switches from a dell at101w and a teensy 2.0. When i try to make the hex file on cmd it says: make: Interrupt/exception caught (...
- 02 Nov 2014, 13:37
- Forum: Workshop
- Topic: TMK keyboard firmware collection
- Replies: 339
- Views: 191202
... but I cannot tested (still :-)) I have used git. Integrating the code should be simple. In converter/ps2_usb/config.h /* * PHYSICAL LEDs PINOUT */ #ifdef PHYSICAL_LEDS_ENABLE #define LED_INIT_LOOPS 2 #define LED_INIT_DELAY 40 #ifdef CAPS_LOCK_LED_ENABLE #define CAPS_LOCK_LED_PORT PORTF #define ...