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:60
void update(float elapsed)
Definition: Peripheral.cpp:90
void addInput(System::String ^name, int deviceId, INPUTID inputId, float threshold)
Definition: Peripheral.cpp:6
bool isDownAny(int deviceId)
Definition: Peripheral.cpp:82
void setGamePadID(int id, bool force)
Definition: Peripheral.cpp:101
bool isUp(System::String ^name)
Definition: Peripheral.cpp:49
float getOldValue(System::String ^name)
Definition: Peripheral.cpp:27
bool isRelease(System::String ^name)
Definition: Peripheral.cpp:71
float getValue(System::String ^name)
Definition: Peripheral.cpp:16
bool isDown(System::String ^name)
Definition: Peripheral.cpp:38
Controller()
Definition: Peripheral.h:148
void Release()
Definition: Peripheral.h:154
Definition: Peripheral.h:176
static void setVibrationForce(float force)
Definition: Peripheral.cpp:137
static void setMousePos(int x, int y)
Definition: Peripheral.cpp:116
static void setCheckActive(bool check)
Definition: Peripheral.cpp:130
static void setMouseButtonState(int state, int flag)
Definition: Peripheral.cpp:123
static int getMinimumGamepadID()
Definition: Peripheral.cpp:109
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