11#ifndef INCGUARD_MGL_GAMEPAD_H_1610083201
12#define INCGUARD_MGL_GAMEPAD_H_1610083201
31 , _state(_server.GetPadState(entry))
42 [[nodiscard]]
constexpr bool IsEnabled() const noexcept
75 [[nodiscard]]
const char *
GetName() const noexcept
89 return _server.
Entry(_state, entry);
99 _server.
Leave(_state);
131 [[nodiscard]]
constexpr bool HasEntry() const noexcept
254 explicit constexpr operator bool() const noexcept
268 return !
static_cast<bool>(*this);
static GamepadServer & GetInstance() noexcept
Definition mgl_singleton.h:74
PadEntry
パッドのエントリータイプ
Definition mgl_gamepad_defs.h:164
PadType
ゲームパッドの種類
Definition mgl_gamepad_defs.h:148
PadButton
ゲームパッドのボタンの定義
Definition mgl_gamepad_defs.h:33
2Dベクトル
Definition mgl_vector2.h:23