ホーム › UI.Input.GameInput › GameInputDeviceStatus
GameInputDeviceStatus
列挙型フラグメンバー 11
| 名前 | 10進 | 16進 |
|---|---|---|
| GameInputDeviceNoStatus | 0 | 0x0 |
| GameInputDeviceConnected | 1 | 0x1 |
| GameInputDeviceInputEnabled | 2 | 0x2 |
| GameInputDeviceOutputEnabled | 4 | 0x4 |
| GameInputDeviceRawIoEnabled | 8 | 0x8 |
| GameInputDeviceAudioCapture | 16 | 0x10 |
| GameInputDeviceAudioRender | 32 | 0x20 |
| GameInputDeviceSynchronized | 64 | 0x40 |
| GameInputDeviceWireless | 128 | 0x80 |
| GameInputDeviceUserIdle | 1048576 | 0x100000 |
| GameInputDeviceAnyStatus | 16777215 | 0xFFFFFF |
各言語での定義
列挙メンバーの定義。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 Enumimport 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* = 16777215enum 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)。