mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 12:14:54 +01:00
Initial commit.
This commit is contained in:
commit
d968c3e1b5
238 changed files with 86384 additions and 0 deletions
36
sdk_includes/isteamcontroller002.h
Normal file
36
sdk_includes/isteamcontroller002.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
|
||||
#ifndef ISTEAMCONTROLLER002_H
|
||||
#define ISTEAMCONTROLLER002_H
|
||||
#ifdef STEAM_WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
class ISteamController002
|
||||
{
|
||||
public:
|
||||
|
||||
//
|
||||
// Native controller support API
|
||||
//
|
||||
|
||||
// Must call init and shutdown when starting/ending use of the interface
|
||||
virtual bool Init() = 0;
|
||||
virtual bool Shutdown() = 0;
|
||||
|
||||
// Pump callback/callresult events, SteamAPI_RunCallbacks will do this for you,
|
||||
// normally never need to call directly.
|
||||
virtual void RunFrame() = 0;
|
||||
|
||||
virtual int GetConnectedControllers( uint64 * ) = 0;
|
||||
|
||||
// Trigger a haptic pulse on the controller
|
||||
virtual void TriggerHapticPulse( uint32 unControllerIndex, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec ) = 0;
|
||||
|
||||
virtual unknown_ret ActivateMode( uint64, int32 ) = 0;
|
||||
virtual int32 GetJoystickForHandle( uint64 ) = 0;
|
||||
virtual uint64 GetHandleForJoystick( int32 ) = 0;
|
||||
virtual unknown_ret GetModeAnalogOutputData( uint64, int32 ) = 0;
|
||||
|
||||
};
|
||||
|
||||
#endif //ISTEAMCONTROLLER002_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue