4#include "io/Peripheral.h"
146 kmyIO::Controller *
obj =
nullptr;
151 obj = kmyIO::Controller::newController();
160 void addInput(System::String ^name,
int deviceId,
INPUTID inputId,
float threshold);
162 float getValue(System::String ^name);
164 bool isDown(System::String ^name);
165 bool isUp(System::String ^name);
166 bool isHold(System::String ^name);
169 void update(
float elapsed);
Definition: Peripheral.h:143
kmyIO::Controller * obj
Definition: Peripheral.h:146
bool isHold(System::String ^name)
Definition: Peripheral.cpp:50
void update(float elapsed)
Definition: Peripheral.cpp:74
void addInput(System::String ^name, int deviceId, INPUTID inputId, float threshold)
Definition: Peripheral.cpp:6
bool isDownAny(int deviceId)
Definition: Peripheral.cpp:68
void setGamePadID(int id, bool force)
Definition: Peripheral.cpp:81
bool isUp(System::String ^name)
Definition: Peripheral.cpp:41
float getOldValue(System::String ^name)
Definition: Peripheral.cpp:23
bool isRelease(System::String ^name)
Definition: Peripheral.cpp:59
float getValue(System::String ^name)
Definition: Peripheral.cpp:14
bool isDown(System::String ^name)
Definition: Peripheral.cpp:32
Controller()
Definition: Peripheral.h:148
void Release()
Definition: Peripheral.h:154
Definition: Peripheral.h:176
static void setVibrationForce(float force)
Definition: Peripheral.cpp:107
static void setMousePos(int x, int y)
Definition: Peripheral.cpp:92
static void setCheckActive(bool check)
Definition: Peripheral.cpp:102
static void setMouseButtonState(int state, int flag)
Definition: Peripheral.cpp:97
static int getMinimumGamepadID()
Definition: Peripheral.cpp:87
INPUTID
Definition: Peripheral.h:8
@ kTOUCHPANEL_TOUCH2_TOUCH
@ kTOUCHPANEL_TOUCH7_TOUCH
@ kPS4_PAD_ANALOGBUTTON_R2
@ kPS4_PAD_ANALOGBUTTON_L2
@ kWIN_MOUSE_BUTTON_TOOL_R
@ kWIN_MOUSE_BUTTON_TOOL_L
@ kTOUCHPANEL_TOUCH0_TOUCH
@ kVITA_PAD_BUTTON_CIRCLE
@ kVITA_PAD_BUTTON_SQUARE
@ kVITA_PAD_BUTTON_SELECT
@ kVITA_PAD_BUTTON_TRIANGLE
@ kTOUCHPANEL_TOUCH4_TOUCH
@ kTOUCHPANEL_TOUCH5_TOUCH
@ kWIN_MOUSE_BUTTON_TOOL_M
@ kPS4_PAD_BUTTON_TRIANGLE
@ kPS4_PAD_BUTTON_INTERCEPTED
@ kTOUCHPANEL_TOUCH3_TOUCH
@ kTOUCHPANEL_TOUCH6_TOUCH
@ kTOUCHPANEL_TOUCH1_TOUCH
@ kPS4_PAD_BUTTON_TOUCH_PAD
@ kPS4_PAD_BUTTON_OPTIONS