102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
force_feedback.c File Reference
#include "pcdogs/input/constants.h"
#include "pcdogs/image/globals.h"
#include "pcdogs/input/functions.h"
#include "pcdogs/input/globals.h"
#include "pcdogs/input/types.h"
#include "pcdogs/runtime/functions.h"
#include "pcdogs/settings/functions.h"
#include <math.h>
#include <stdarg.h>
#include <string.h>

Go to the source code of this file.

Functions

int32_t DInput_EnumerateForceFeedbackJoysticks (IDirectInputA *direct_input, GUID *device_guid_buffer)
HRESULT DInput_SetConstantForceEffect (LONG direction_x, LONG direction_y_and_base_magnitude, DWORD duration_microseconds)
HRESULT DInput_StartConstantForceEffect ()
void Input_SetForceFeedbackScale (float scale)
int32_t Input_TriggerRumbleIfAllowed (int32_t source_id, BOOL full_strength, int32_t magnitude_fp12, int32_t duration_units)

Function Documentation

◆ DInput_EnumerateForceFeedbackJoysticks()

int32_t DInput_EnumerateForceFeedbackJoysticks ( IDirectInputA * direct_input,
GUID * device_guid_buffer )

Definition at line 15 of file force_feedback.c.

◆ DInput_SetConstantForceEffect()

HRESULT DInput_SetConstantForceEffect ( LONG direction_x,
LONG direction_y_and_base_magnitude,
DWORD duration_microseconds )

Definition at line 26 of file force_feedback.c.

◆ DInput_StartConstantForceEffect()

HRESULT DInput_StartConstantForceEffect ( void )

Definition at line 55 of file force_feedback.c.

◆ Input_SetForceFeedbackScale()

void Input_SetForceFeedbackScale ( float scale)

Definition at line 69 of file force_feedback.c.

◆ Input_TriggerRumbleIfAllowed()

int32_t Input_TriggerRumbleIfAllowed ( int32_t source_id,
BOOL full_strength,
int32_t magnitude_fp12,
int32_t duration_units )

Definition at line 76 of file force_feedback.c.