pause: add slider input filtering

This commit is contained in:
somewhatlurker
2019-10-23 07:32:19 +11:00
parent e6ad288288
commit 586db86f43
2 changed files with 12 additions and 7 deletions
@@ -3,6 +3,7 @@
#include "EmulatorComponent.h"
#include "PlayerData.h"
#include "Input/InputState.h"
#include "Input/TouchSliderState.h"
#include <string>
#include <vector>
#include <chrono>
@@ -46,6 +47,7 @@ namespace TLAC::Components
static PlayerData* playerData;
static InputState* inputState;
static TouchSliderState* sliderState;
static const JvsButtons allButtons = (JvsButtons)(JVS_START | JVS_TRIANGLE | JVS_SQUARE | JVS_CROSS | JVS_CIRCLE | JVS_L | JVS_R); // deliberately only has control panel buttons
static JvsButtons filteredButtons;