#pragma region CPL License
/*
Nuclex Native Framework
Copyright (C) 2002-2013 Nuclex Development Labs
This library is free software; you can redistribute it and/or
modify it under the terms of the IBM Common Public License as
published by the IBM Corporation; either version 1.0 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
IBM Common Public License for more details.
You should have received a copy of the IBM Common Public
License along with this library
*/
#pragma endregion // CPL License
#ifndef NUCLEX_INPUT_DEVICES_SLIDERS_H
#define NUCLEX_INPUT_DEVICES_SLIDERS_H
namespace Nuclex { namespace Input { namespace Devices {
// ------------------------------------------------------------------------------------------- //
namespace Sliders { // until C++ enum class support is rolled out
/// Bit masks for the axes a game pad or joystick can have
enum Enum {
/// First additional axis (formerly called U-axis)
Slider1 = (1 << 0),
/// Second additional axis (formerly called V-axis)
Slider2 = (1 << 1),
/// First extra velocity axis
Velocity1 = (1 << 2),
/// Second extra velocity axis
Velocity2 = (1 << 3),
/// First extra acceleration axis
Acceleration1 = (1 << 4),
/// Second extra acceleration axis
Acceleration2 = (1 << 5),
/// First extra force axis
Force1 = (1 << 6),
/// Second extra force axis
Force2 = (1 << 7)
};
} // namespace Sliders
// ------------------------------------------------------------------------------------------- //
}}} // namespace Nuclex::Input::Devices
#endif // NUCLEX_INPUT_DEVICES_SLIDERS_H