logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (645B)


  1. // Copyright 2021 Christoph Rehmann (crehmann)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #ifdef OLED_ENABLE
  5. #define OLED_DISPLAY_128X32
  6. #endif
  7. #ifdef PS2_DRIVER_INTERRUPT
  8. #define PS2_CLOCK_PIN E6
  9. #define PS2_DATA_PIN D7
  10. #define PS2_INT_INIT() do { \
  11. EICRB |= ((1<<ISC61) | \
  12. (0<<ISC60)); \
  13. } while (0)
  14. #define PS2_INT_ON() do { \
  15. EIMSK |= (1<<INT6); \
  16. } while (0)
  17. #define PS2_INT_OFF() do { \
  18. EIMSK &= ~(1<<INT6); \
  19. } while (0)
  20. #define PS2_INT_VECT INT6_vect
  21. #define PS2_MOUSE_ROTATE 270 /* Compensate for East-facing device orientation. */
  22. #endif