1
0
mirror of synced 2024-11-16 15:33:50 +00:00
G940LEDControl/LogitechSDK/ControlsAssignment/Src/LogiButton.h

36 lines
801 B
C
Raw 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_BUTTON_H_INCLUDED_
#define LOGI_CONTROLS_ASSIGNMENT_BUTTON_H_INCLUDED_
#include "LogiControl.h"
namespace LogitechControlsAssignmentSDK
{
CONST FLOAT BUTTONS_RANGE_MIN = 0.0f;
CONST FLOAT BUTTONS_RANGE_MAX = 1.0f;
class Button: public Control
{
public:
Button();
virtual ~Button();
VOID Initialize();
VOID SetNumber(CONST INT number);
INT GetNumber();
BOOL Moved();
protected:
INT m_number;
};
}
#endif // LOGI_CONTROLS_ASSIGNMENT_BUTTON_H_INCLUDED_