1
0
mirror of synced 2024-11-22 10:03:51 +00:00
G940LEDControl/LogitechSDK/ControlsAssignment/Src/LogiGameAction.h

42 lines
991 B
C
Raw Permalink Normal View History

2012-01-04 19:11:07 +00:00
/*
The Logitech Controls Assignment SDK, including all accompanying
documentation, is protected by intellectual property laws. All rights
not expressly granted by Logitech are reserved.
*/
#ifndef LOGI_CONTROLS_ASSIGNMENT_GAME_ACTION_H_INCLUDED_
#define LOGI_CONTROLS_ASSIGNMENT_GAME_ACTION_H_INCLUDED_
#include "LogiControl.h"
namespace LogitechControlsAssignmentSDK
{
class GameAction
{
public:
GameAction();
~GameAction();
VOID SetControl(Control* control);
Control* GetControl();
FLOAT GetValue();
VOID StartCheckingForInput();
VOID StopCheckingForInput();
BOOL IsCheckingForInput();
VOID ResetIfSameControl(CONST Control* control);
VOID SetID(CONST INT ID);
INT GetID();
private:
BOOL m_isCheckingForInput;
Control* m_control;
INT m_ID;
};
}
#endif // LOGI_CONTROLS_ASSIGNMENT_GAME_ACTION_H_INCLUDED_