some changes to improve cirque trackpad, mcuconf for stm32

This commit is contained in:
Sadek Baroudi 2022-05-06 03:47:34 -07:00
parent 5835a03087
commit 8192d3b28b
2 changed files with 30 additions and 0 deletions

View File

@ -30,7 +30,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define POINTING_DEVICE_ROTATION_270
// If using chewiedies case
#define POINTING_DEVICE_ROTATION_90
#define POINTING_DEVICE_TASK_THROTTLE_MS 5
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
// #define CIRQUE_PINNACLE_TAPPING_TERM 150
// #define CIRQUE_PINNACLE_TOUCH_DEBOUNCE 100

View File

@ -0,0 +1,27 @@
/* Copyright 2020 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* This file was auto-generated by:
* `qmk chibios-confupdate -i keyboards/tkw/grandiceps/mcuconf.h -r platforms/chibios/BLACKPILL_STM32_F411/configs/mcuconf.h`
*/
#pragma once
#include_next "mcuconf.h"
#undef STM32_ST_USE_TIMER
#define STM32_ST_USE_TIMER 5