µGFX
2.9
version 2.9
ginput_driver_dial.h
Go to the documentation of this file.
1
/*
2
* This file is subject to the terms of the GFX License. If a copy of
3
* the license was not distributed with this file, you can obtain one at:
4
*
5
* http://ugfx.io/license.html
6
*/
7
8
/**
9
* @file src/ginput/ginput_driver_dial.h
10
* @brief GINPUT header file for dial drivers.
11
*
12
* @defgroup Dial Dial
13
* @ingroup GINPUT
14
* @{
15
*/
16
17
#ifndef _LLD_GINPUT_DIAL_H
18
#define _LLD_GINPUT_DIAL_H
19
20
#if GINPUT_NEED_DIAL || defined(__DOXYGEN__)
21
22
#include "ginput_lld_dial_config.h"
23
24
typedef
void (*DialCallbackFn)(gU16 instance, gU16 rawvalue);
25
26
/*===========================================================================*/
27
/* External declarations. */
28
/*===========================================================================*/
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
void
ginput_lld_dial_init(
void
);
35
void
ginput_lld_dial_poll(DialCallbackFn fn);
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
/* GFX_USE_GINPUT && GINPUT_NEED_TOGGLE */
42
43
#endif
/* _LLD_GINPUT_TOGGLE_H */
44
/** @} */
45
Users
joel
Documents
projects
ugfx
library_v2
src
ginput
ginput_driver_dial.h
Generated on Thu Aug 19 2021 13:46:13 for µGFX by
1.9.1