config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly)
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #ifdef VIA_ENABLE
  19. /* VIA configuration. */
  20. # define DYNAMIC_KEYMAP_LAYER_COUNT 4
  21. #endif // VIA_ENABLE
  22. /* Disable unused features. */
  23. #define NO_ACTION_ONESHOT
  24. /* Charybdis-specific features. */
  25. #ifdef POINTING_DEVICE_ENABLE
  26. // Automatically enable the pointer layer when moving the trackball. See also:
  27. // - `CHARYBDIS_AUTO_POINTER_LAYER_TRIGGER_TIMEOUT_MS`
  28. // - `CHARYBDIS_AUTO_POINTER_LAYER_TRIGGER_THRESHOLD`
  29. // #define CHARYBDIS_AUTO_POINTER_LAYER_TRIGGER_ENABLE
  30. #endif // POINTING_DEVICE_ENABLE