nx-hbmenu/nx_main/nx_touch.h
Chris Bradel 45efcfcb98
added momentum to touch drags (#124)
* added momentum to touch drags
2020-06-26 11:35:11 -04:00

16 lines
293 B
C

#pragma once
#include <switch.h>
#include "../common/common.h"
struct touchInfo_s {
bool gestureInProgress;
touchPosition firstTouch;
touchPosition prevTouch;
bool isTap;
int initMenuXPos;
int initMenuIndex;
int lastSlideSpeed;
};
void handleTouch(menu_s* menu);