1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00
hl2sdk/game/client/c_rumble.h
2010-07-22 01:46:14 -05:00

20 lines
683 B
C

//======= Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose: Rumble effects mixer for XBox
//
// $NoKeywords: $
//
//=============================================================================//
#pragma once
#ifndef C_RUMBLE_H
#define C_RUMBLE_H
extern void RumbleEffect( int userID, unsigned char effectIndex, unsigned char rumbleData, unsigned char rumbleFlags );
extern void UpdateRumbleEffects( int userID );
extern void UpdateScreenShakeRumble( int userID, float shake, float balance = 0 );
extern void EnableRumbleOutput( int userID, bool bEnable );
extern void StopAllRumbleEffects( int userID );
#endif//C_RUMBLE_H