actually qwiic framework with hooks

This commit is contained in:
Jack Humbert 2018-10-02 23:16:03 -04:00
parent d2856529ce
commit 636c5989de
9 changed files with 120 additions and 84 deletions

View file

@ -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);