mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +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
|
|
@ -511,7 +511,7 @@ void DInputManager::deactivateXInput()
|
|||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
bool DInputManager::rumble( const char *pDeviceName, float x, float y )
|
||||
bool DInputManager::rumble( const char *pDeviceName, F32 x, F32 y )
|
||||
{
|
||||
// Determine the device
|
||||
U32 deviceType;
|
||||
|
|
@ -566,7 +566,7 @@ bool DInputManager::rumble( const char *pDeviceName, float x, float y )
|
|||
}
|
||||
}
|
||||
|
||||
void DInputManager::buildXInputEvent( U32 deviceInst, InputEventType objType, InputObjectInstances objInst, InputActionType action, float fValue )
|
||||
void DInputManager::buildXInputEvent( U32 deviceInst, InputEventType objType, InputObjectInstances objInst, InputActionType action, F32 fValue )
|
||||
{
|
||||
InputEventInfo newEvent;
|
||||
|
||||
|
|
@ -597,7 +597,7 @@ inline void DInputManager::fireXInputConnectEvent( S32 controllerID, bool condit
|
|||
}
|
||||
}
|
||||
|
||||
inline void DInputManager::fireXInputMoveEvent( S32 controllerID, bool condition, InputObjectInstances objInst, float fValue )
|
||||
inline void DInputManager::fireXInputMoveEvent( S32 controllerID, bool condition, InputObjectInstances objInst, F32 fValue )
|
||||
{
|
||||
if ( mXInputStateReset || condition )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue