mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-01-07 10:03:29 +08:00
21 lines
770 B
C
21 lines
770 B
C
#ifndef LOCALFLEXCONTROLLER_H
|
|
#define LOCALFLEXCONTROLLER_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "platform.h"
|
|
|
|
enum LocalFlexController_t
|
|
{
|
|
DUMMY_FLEX_CONTROLLER = 0x7fffffff
|
|
};
|
|
|
|
inline LocalFlexController_t& operator++(LocalFlexController_t& a) { return a = LocalFlexController_t(int(a) + 1); }
|
|
inline LocalFlexController_t& operator--(LocalFlexController_t& a) { return a = LocalFlexController_t(int(a) - 1); }
|
|
inline LocalFlexController_t operator++(LocalFlexController_t& a, int) { LocalFlexController_t t = a; a = LocalFlexController_t(int(a) + 1); return t; }
|
|
inline LocalFlexController_t operator--(LocalFlexController_t& a, int) { LocalFlexController_t t = a; a = LocalFlexController_t(int(a) - 1); return t; }
|
|
|
|
|
|
#endif |