nx-hbmenu/nx_main/nx_touch.h
2020-12-02 15:01:40 +01:00

17 lines
315 B
C

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