enum

Tryst::SDL::Subsystem

Inherits Enum < Comparable < Value < Object

SDL_INIT_* . Only the subsystems this shard has a use for, rather than every bit SDL defines: video for the embedded surface, audio for the mixer, and joystick/gamepad for controller input. Events is here because it is what the others imply, so it shows up in initialized whether or not anyone asked for it.

Constants

Audio = 16_u32
Video = 32_u32
Joystick = 512_u32
Events = 16384_u32
Gamepad = 8192_u32
None = 0_u32
All = 25136_u32

Instance methods

audio?

Returns true if this enum value contains Audio

Source
events?

Returns true if this enum value contains Events

Source
gamepad?

Returns true if this enum value contains Gamepad

Source
joystick?

Returns true if this enum value contains Joystick

Source
none?
Source
video?

Returns true if this enum value contains Video

Source