25 lines
240 B
C++
25 lines
240 B
C++
|
#ifndef CONTROLLER_HPP
|
||
|
#define CONTROLLER_HPP
|
||
|
|
||
|
namespace RemoteControl
|
||
|
{
|
||
|
|
||
|
struct Controller
|
||
|
{
|
||
|
Controller() = default;
|
||
|
|
||
|
enum Commands
|
||
|
{
|
||
|
Play = 0,
|
||
|
Stop,
|
||
|
Left,
|
||
|
Right,
|
||
|
Up,
|
||
|
Down
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // CONTROLLER_HPP
|