Win32 API 日本語リファレンス
ホームUI.Input.GameInput › GameInputDeviceStatus

GameInputDeviceStatus

列挙型フラグ
基底型i4

メンバー 11

名前10進16進
GameInputDeviceNoStatus00x0
GameInputDeviceConnected10x1
GameInputDeviceInputEnabled20x2
GameInputDeviceOutputEnabled40x4
GameInputDeviceRawIoEnabled80x8
GameInputDeviceAudioCapture160x10
GameInputDeviceAudioRender320x20
GameInputDeviceSynchronized640x40
GameInputDeviceWireless1280x80
GameInputDeviceUserIdle10485760x100000
GameInputDeviceAnyStatus167772150xFFFFFF

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum GameInputDeviceStatus : int {
    GameInputDeviceNoStatus = 0,
    GameInputDeviceConnected = 1,
    GameInputDeviceInputEnabled = 2,
    GameInputDeviceOutputEnabled = 4,
    GameInputDeviceRawIoEnabled = 8,
    GameInputDeviceAudioCapture = 16,
    GameInputDeviceAudioRender = 32,
    GameInputDeviceSynchronized = 64,
    GameInputDeviceWireless = 128,
    GameInputDeviceUserIdle = 1048576,
    GameInputDeviceAnyStatus = 16777215
} GameInputDeviceStatus;
[Flags]
public enum GameInputDeviceStatus : int
{
    GameInputDeviceNoStatus = 0,
    GameInputDeviceConnected = 1,
    GameInputDeviceInputEnabled = 2,
    GameInputDeviceOutputEnabled = 4,
    GameInputDeviceRawIoEnabled = 8,
    GameInputDeviceAudioCapture = 16,
    GameInputDeviceAudioRender = 32,
    GameInputDeviceSynchronized = 64,
    GameInputDeviceWireless = 128,
    GameInputDeviceUserIdle = 1048576,
    GameInputDeviceAnyStatus = 16777215,
}
<Flags>
Public Enum GameInputDeviceStatus As Integer
    GameInputDeviceNoStatus = 0
    GameInputDeviceConnected = 1
    GameInputDeviceInputEnabled = 2
    GameInputDeviceOutputEnabled = 4
    GameInputDeviceRawIoEnabled = 8
    GameInputDeviceAudioCapture = 16
    GameInputDeviceAudioRender = 32
    GameInputDeviceSynchronized = 64
    GameInputDeviceWireless = 128
    GameInputDeviceUserIdle = 1048576
    GameInputDeviceAnyStatus = 16777215
End Enum
import enum

class GameInputDeviceStatus(enum.IntFlag):
    GameInputDeviceNoStatus = 0
    GameInputDeviceConnected = 1
    GameInputDeviceInputEnabled = 2
    GameInputDeviceOutputEnabled = 4
    GameInputDeviceRawIoEnabled = 8
    GameInputDeviceAudioCapture = 16
    GameInputDeviceAudioRender = 32
    GameInputDeviceSynchronized = 64
    GameInputDeviceWireless = 128
    GameInputDeviceUserIdle = 1048576
    GameInputDeviceAnyStatus = 16777215
// GameInputDeviceStatus (flags)
pub const GameInputDeviceNoStatus: i32 = 0;
pub const GameInputDeviceConnected: i32 = 1;
pub const GameInputDeviceInputEnabled: i32 = 2;
pub const GameInputDeviceOutputEnabled: i32 = 4;
pub const GameInputDeviceRawIoEnabled: i32 = 8;
pub const GameInputDeviceAudioCapture: i32 = 16;
pub const GameInputDeviceAudioRender: i32 = 32;
pub const GameInputDeviceSynchronized: i32 = 64;
pub const GameInputDeviceWireless: i32 = 128;
pub const GameInputDeviceUserIdle: i32 = 1048576;
pub const GameInputDeviceAnyStatus: i32 = 16777215;
// GameInputDeviceStatus
const (
	GameInputDeviceNoStatus int32 = 0
	GameInputDeviceConnected int32 = 1
	GameInputDeviceInputEnabled int32 = 2
	GameInputDeviceOutputEnabled int32 = 4
	GameInputDeviceRawIoEnabled int32 = 8
	GameInputDeviceAudioCapture int32 = 16
	GameInputDeviceAudioRender int32 = 32
	GameInputDeviceSynchronized int32 = 64
	GameInputDeviceWireless int32 = 128
	GameInputDeviceUserIdle int32 = 1048576
	GameInputDeviceAnyStatus int32 = 16777215
)
const
  GameInputDeviceNoStatus = 0;
  GameInputDeviceConnected = 1;
  GameInputDeviceInputEnabled = 2;
  GameInputDeviceOutputEnabled = 4;
  GameInputDeviceRawIoEnabled = 8;
  GameInputDeviceAudioCapture = 16;
  GameInputDeviceAudioRender = 32;
  GameInputDeviceSynchronized = 64;
  GameInputDeviceWireless = 128;
  GameInputDeviceUserIdle = 1048576;
  GameInputDeviceAnyStatus = 16777215;
// GameInputDeviceStatus
pub const GameInputDeviceNoStatus: i32 = 0;
pub const GameInputDeviceConnected: i32 = 1;
pub const GameInputDeviceInputEnabled: i32 = 2;
pub const GameInputDeviceOutputEnabled: i32 = 4;
pub const GameInputDeviceRawIoEnabled: i32 = 8;
pub const GameInputDeviceAudioCapture: i32 = 16;
pub const GameInputDeviceAudioRender: i32 = 32;
pub const GameInputDeviceSynchronized: i32 = 64;
pub const GameInputDeviceWireless: i32 = 128;
pub const GameInputDeviceUserIdle: i32 = 1048576;
pub const GameInputDeviceAnyStatus: i32 = 16777215;
const
  GameInputDeviceNoStatus* = 0
  GameInputDeviceConnected* = 1
  GameInputDeviceInputEnabled* = 2
  GameInputDeviceOutputEnabled* = 4
  GameInputDeviceRawIoEnabled* = 8
  GameInputDeviceAudioCapture* = 16
  GameInputDeviceAudioRender* = 32
  GameInputDeviceSynchronized* = 64
  GameInputDeviceWireless* = 128
  GameInputDeviceUserIdle* = 1048576
  GameInputDeviceAnyStatus* = 16777215
enum GameInputDeviceStatus : int {
    GameInputDeviceNoStatus = 0,
    GameInputDeviceConnected = 1,
    GameInputDeviceInputEnabled = 2,
    GameInputDeviceOutputEnabled = 4,
    GameInputDeviceRawIoEnabled = 8,
    GameInputDeviceAudioCapture = 16,
    GameInputDeviceAudioRender = 32,
    GameInputDeviceSynchronized = 64,
    GameInputDeviceWireless = 128,
    GameInputDeviceUserIdle = 1048576,
    GameInputDeviceAnyStatus = 16777215,
}
#define global GameInputDeviceNoStatus      0x0
#define global GameInputDeviceConnected     0x1
#define global GameInputDeviceInputEnabled  0x2
#define global GameInputDeviceOutputEnabled 0x4
#define global GameInputDeviceRawIoEnabled  0x8
#define global GameInputDeviceAudioCapture  0x10
#define global GameInputDeviceAudioRender   0x20
#define global GameInputDeviceSynchronized  0x40
#define global GameInputDeviceWireless      0x80
#define global GameInputDeviceUserIdle      0x100000
#define global GameInputDeviceAnyStatus     0xFFFFFF
; ※フラグ列挙型。ビットORで組み合わせ可(例: FOO|BAR)。