mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Update for float, double and unsigned char, unsigned short, short, etc. char was left alone: read why here http://msdn.microsoft.com/en-us/library/cc953fe1.aspx
This commit is contained in:
parent
4c35fd37af
commit
7a8f46b19f
36 changed files with 75 additions and 75 deletions
|
|
@ -85,9 +85,9 @@ class DInputManager : public InputManager
|
|||
void unacquire( U8 deviceType, U8 deviceID );
|
||||
|
||||
// XInput worker functions
|
||||
void buildXInputEvent( U32 deviceInst, InputEventType objType, InputObjectInstances objInst, InputActionType action, float fValue );
|
||||
void buildXInputEvent( U32 deviceInst, InputEventType objType, InputObjectInstances objInst, InputActionType action, F32 fValue );
|
||||
void fireXInputConnectEvent( S32 controllerID, bool condition, bool connected );
|
||||
void fireXInputMoveEvent( S32 controllerID, bool condition, InputObjectInstances objInst, float fValue );
|
||||
void fireXInputMoveEvent( S32 controllerID, bool condition, InputObjectInstances objInst, F32 fValue );
|
||||
void fireXInputButtonEvent( S32 controllerID, bool forceFire, S32 button, InputObjectInstances objInst );
|
||||
void processXInput();
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ class DInputManager : public InputManager
|
|||
// Console interface:
|
||||
const char* getJoystickAxesString( U32 deviceID );
|
||||
|
||||
bool rumble( const char *pDeviceName, float x, float y );
|
||||
bool rumble( const char *pDeviceName, F32 x, F32 y );
|
||||
};
|
||||
|
||||
#endif // _H_WINDIRECTINPUT_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue