1
0
Fork 0

fc660c/fc980c: clean up actuation point adjustment code (#21964)

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
Ryan 2023-09-14 13:57:10 +10:00 committed by GitHub
parent 20cbe372a6
commit f9ed1e3ebc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 254 additions and 630 deletions

View file

@ -14,11 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONFIG_USER_H
#define CONFIG_USER_H
// place overrides here
#pragma once
// higher value means deeper actuation point, less sensitive
// be careful and only make small adjustments (steps of 1 or 2).
@ -27,5 +23,3 @@
// this should probably stay in the range +/-5.
#undef ACTUATION_DEPTH_ADJUSTMENT
#define ACTUATION_DEPTH_ADJUSTMENT +1
#endif

View file

@ -15,7 +15,6 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "actuation_point.h"
enum custom_keycodes
{
@ -62,12 +61,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record)
}
case AP_READ_RDAC:
{
xprintf("RDAC: %d", read_rdac());
xprintf("RDAC: %d", ad5258_read_rdac());
return false;
}
case AP_READ_EEPROM:
{
xprintf("EEPROM: %d", read_eeprom());
xprintf("EEPROM: %d", ad5258_read_eeprom());
return false;
}