neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
i_game_controller.hpp File Reference

Go to the source code of this file.

Classes

class  neogfx::i_game_controller
 
struct  neogfx::i_game_controller::player_not_assigned
 
struct  neogfx::i_game_controller::unknown_port
 

Namespaces

namespace  neogfx
 

Typedefs

typedef uint32_t neogfx::game_controller_port
 
typedef uint32_t neogfx::game_controller_button_ordinal
 

Enumerations

enum class  neogfx::game_player : uint32_t { neogfx::One = 0x00000001 , neogfx::Two = 0x00000002 , neogfx::Three = 0x00000003 , neogfx::Four = 0x00000004 }
 
enum class  neogfx::game_controller_button : uint64_t {
  neogfx::None = 0x0000000000000000 , neogfx::A = 0x0000000000000001 , neogfx::B = 0x0000000000000002 , neogfx::X = 0x0000000000000004 ,
  neogfx::Y = 0x0000000000000008 , neogfx::C = X , neogfx::D = Y , neogfx::Cross = A ,
  neogfx::Circle = B , neogfx::Square = X , neogfx::Triangle = Y , neogfx::Green = A ,
  neogfx::Red = B , neogfx::Blue = X , neogfx::Yellow = Y , neogfx::LeftShoulder = 0x0000000000000010 ,
  neogfx::RightShoulder = 0x0000000000000020 , neogfx::LeftTrigger = 0x0000000000000040 , neogfx::RightTrigger = 0x0000000000000080 , neogfx::DirectionalPadUp = 0x0000000000000100 ,
  neogfx::DirectionalPadDown = 0x0000000000000200 , neogfx::DirectionalPadLeft = 0x0000000000000400 , neogfx::DirectionalPadRight = 0x0000000000000800 , neogfx::LeftThumb = 0x0000000000001000 ,
  neogfx::LeftThumbUp = 0x0000000000002000 , neogfx::LeftThumbDown = 0x0000000000004000 , neogfx::LeftThumbLeft = 0x0000000000008000 , neogfx::LeftThumbRight = 0x0000000000010000 ,
  neogfx::LeftThumbUpLeft = 0x0000000000020000 , neogfx::LeftThumbUpRight = 0x0000000000040000 , neogfx::LeftThumbDownLeft = 0x0000000000080000 , neogfx::LeftThumbDownRight = 0x0000000000100000 ,
  neogfx::RightThumb = 0x0000000000200000 , neogfx::RightThumbUp = 0x0000000000400000 , neogfx::RightThumbDown = 0x0000000000800000 , neogfx::RightThumbLeft = 0x0000000001000000 ,
  neogfx::RightThumbRight = 0x0000000002000000 , neogfx::RightThumbUpLeft = 0x0000000004000000 , neogfx::RightThumbUpRight = 0x0000000008000000 , neogfx::RightThumbDownLeft = 0x0000000010000000 ,
  neogfx::RightThumbDownRight = 0x0000000020000000 , neogfx::Start = 0x0000000040000000 , neogfx::Back = 0x0000000080000000 , neogfx::Function1 = 0x0000000100000000 ,
  neogfx::Function2 = 0x0000000200000000 , neogfx::Function3 = 0x0000000400000000 , neogfx::Function4 = 0x0000000800000000 , neogfx::Function5 = 0x0000001000000000 ,
  neogfx::Function6 = 0x0000002000000000 , neogfx::Function7 = 0x0000004000000000 , neogfx::Function8 = 0x0000008000000000 , neogfx::Function9 = 0x0000010000000000 ,
  neogfx::Function10 = 0x0000020000000000 , neogfx::Function11 = 0x0000040000000000 , neogfx::Function12 = 0x0000080000000000 , neogfx::Function13 = 0x0000100000000000 ,
  neogfx::Function14 = 0x0000200000000000 , neogfx::Function15 = 0x0000400000000000 , neogfx::Function16 = 0x0000800000000000 , neogfx::Function17 = 0x0001000000000000 ,
  neogfx::Function18 = 0x0002000000000000 , neogfx::Function19 = 0x0004000000000000 , neogfx::Function20 = 0x0008000000000000 , neogfx::Function21 = 0x0010000000000000 ,
  neogfx::Function22 = 0x0020000000000000 , neogfx::Function23 = 0x0040000000000000 , neogfx::Function24 = 0x0080000000000000 , neogfx::Function25 = 0x0100000000000000 ,
  neogfx::Function26 = 0x0200000000000000 , neogfx::Function27 = 0x0400000000000000 , neogfx::Function28 = 0x0800000000000000 , neogfx::Function29 = 0x1000000000000000 ,
  neogfx::Function30 = 0x2000000000000000 , neogfx::Function31 = 0x4000000000000000 , neogfx::Function32 = 0x8000000000000000
}