mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-26 11:01:13 +00:00
19 lines
467 B
C
19 lines
467 B
C
// Copyright 2023 QMK
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
/** \brief user hook called when sampled value has changed
|
|
*/
|
|
bool potentiometer_update_user(uint8_t index, uint16_t value);
|
|
|
|
/** \brief keyboard hook called when sampled value has changed
|
|
*/
|
|
bool potentiometer_update_kb(uint8_t index, uint16_t value);
|
|
|
|
/** \brief Handle various subsystem background tasks
|
|
*/
|
|
bool potentiometer_task(void);
|