From d05eefaf7f10769ddae3840890af6a1e52440238 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 11 Mar 2021 02:56:59 +0100 Subject: vitrual tracking fixed --- fw/fe310/eos/eve/eve_track.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 fw/fe310/eos/eve/eve_track.h (limited to 'fw/fe310/eos/eve/eve_track.h') diff --git a/fw/fe310/eos/eve/eve_track.h b/fw/fe310/eos/eve/eve_track.h deleted file mode 100644 index a5fd113..0000000 --- a/fw/fe310/eos/eve/eve_track.h +++ /dev/null @@ -1,22 +0,0 @@ -#include - -#define EVE_TRACK_TYPE_INERT 1 -#define EVE_TRACK_TYPE_OSC 2 -#define EVE_TRACK_FRICTION 500 - -typedef struct EVETrackOsc { - int x; - int y; - double f; - double d; - double a; - uint32_t t_max; -} EVETrackOsc; - -void eve_track_init(void); -void eve_track_set(uint8_t type, void *param); - -void eve_track_inert_init(EVETouchTimer *timer, EVETouch *touch); -int eve_track_inert_tick(EVETouchTimer *timer, EVETouch *touch); -void eve_track_osc_init(EVETrackOsc *p, int x, int y, uint32_t T, double d, uint32_t t_max); -int eve_track_osc_tick(EVETouchTimer *timer, EVETouch *touch); -- cgit v1.2.3