Skip to content

Commit

Permalink
[Keymap] Update andrebrait keymap for GMMK Pro
Browse files Browse the repository at this point in the history
* Small performance updates
* Use fast_timer_t
* Inline functions called during matrix scans and record processing
  • Loading branch information
andrebrait committed Aug 11, 2023
1 parent d52bafa commit 5e15833
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 171 deletions.
9 changes: 5 additions & 4 deletions keyboards/gmmk/pro/rev1/ansi/keymaps/andrebrait/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
#pragma once

#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_TIMEOUT 1200000 // 20 minutes (20 * 60 * 1000ms)
#define RGB_DISABLE_WHEN_USB_SUSPENDED
# define RGB_MATRIX_TIMEOUT 1200000 // 20 minutes (20 * 60 * 1000ms)
# define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif

// Setting DEBOUNCE to 8 to be a little conservative due to issues with Glorious' proprietary hot-swap sockets
// A debounce of 8 represents a minimum key press time of just under 1 refresh at 120Hz
// Slightly higher than the default because we are using sym_eager_pk
#ifdef DEBOUNCE
#undef DEBOUNCE
# undef DEBOUNCE
#endif
#define DEBOUNCE 8

Expand Down
Loading

0 comments on commit 5e15833

Please sign in to comment.