remove unnecessary level of indirection
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8064 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1e0f2c45a0c918ad816c4f76e545ae4f5bf311b5 Former-commit-id: d01e732d4a59f5a4d9438d6acf42ebdd2a9d842e
This commit is contained in:
parent
f855317f8f
commit
f15ef41b9a
1 changed files with 8 additions and 14 deletions
|
@ -469,8 +469,15 @@ GfctrlJoyNumber(void)
|
|||
return gfctrlJoyPresent;
|
||||
}
|
||||
|
||||
/** Get the current state of the joysticks
|
||||
@ingroup ctrl
|
||||
@param joyInfo Target joystick structure
|
||||
@return <tt>0 ... </tt>Ok
|
||||
<br><tt>-1 .. </tt>Error
|
||||
@note The tCtrlJoyInfo structure is updated with the new values
|
||||
*/
|
||||
int
|
||||
GfctrlSDL2JoyGetCurrentStates(tCtrlJoyInfo *joyInfo)
|
||||
GfctrlJoyGetCurrentStates(tCtrlJoyInfo *joyInfo)
|
||||
{
|
||||
int ind;
|
||||
int i,j;
|
||||
|
@ -533,19 +540,6 @@ GfctrlSDL2JoyGetCurrentStates(tCtrlJoyInfo *joyInfo)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/** Get the current state of the joysticks
|
||||
@ingroup ctrl
|
||||
@param joyInfo Target joystick structure
|
||||
@return <tt>0 ... </tt>Ok
|
||||
<br><tt>-1 .. </tt>Error
|
||||
@note The tCtrlJoyInfo structure is updated with the new values
|
||||
*/
|
||||
int
|
||||
GfctrlJoyGetCurrentStates(tCtrlJoyInfo *joyInfo)
|
||||
{
|
||||
return GfctrlSDL2JoyGetCurrentStates(joyInfo);
|
||||
}
|
||||
|
||||
void
|
||||
GfctrlJoySetAxis(int joy, int axis, float value)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue