actually qwiic framework with hooks
This commit is contained in:
parent
d2856529ce
commit
636c5989de
9 changed files with 120 additions and 84 deletions
|
|
@ -15,7 +15,15 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "i2c_master.h"
|
||||
#include "qwiic.h"
|
||||
|
||||
enum {
|
||||
JOYSTIIC_LEFT,
|
||||
JOYSTIIC_RIGHT,
|
||||
JOYSTIIC_UP,
|
||||
JOYSTIIC_DOWN,
|
||||
JOYSTIIC_PRESS
|
||||
};
|
||||
|
||||
void joystiic_update_kb(uint16_t horizontal, uint16_t vertical, bool button);
|
||||
void joystiic_update_user(uint16_t horizontal, uint16_t vertical, bool button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue