blob: f4b25341590c78375e8473228f0ceb1f267a433b [file] [log] [blame]
#ifndef _RIVE_JOYSTICK_FLAGS_HPP_
#define _RIVE_JOYSTICK_FLAGS_HPP_
#include "rive/enum_bitset.hpp"
namespace rive
{
enum class JoystickFlags : unsigned char
{
/// Whether to invert the application of the x axis.
invertX = 1 << 0,
/// Whether to invert the application of the y axis.
invertY = 1 << 1,
/// Whether this Joystick works in world space.
worldSpace = 1 << 2
};
RIVE_MAKE_ENUM_BITSET(JoystickFlags)
} // namespace rive
#endif