| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Joystick
Description
SDL joystick support.
This is the lower-level joystick handling. If you want the simpler option, where what each button does is well-defined, you should use the gamepad API instead.
The term "instance_id" is the current instantiation of a joystick device in the system. If the joystick is removed and then re-inserted then it will get a new instance_id. instance_id's are monotonically increasing identifiers of a joystick plugged in.
The term "player_index" is the number assigned to a player on a specific controller. For XInput controllers this returns the XInput user index. Many joysticks will not be able to supply this information.
SDL_GUID is used as a stable 128-bit identifier for a joystick device that does not change over time. It identifies class of the device (a X360 wired controller for example). This identifier is platform dependent.
In order to use these functions, SDL_Init() must have been called with the SDL_INIT_JOYSTICK flag. This causes SDL to scan the system for joysticks, and load appropriate drivers.
If you would like to receive joystick updates while the application is in the background, you should set the following hint before calling SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
SDL can provide virtual joysticks as well: the app defines an imaginary controller with SDL_AttachVirtualJoystick(), and then can provide inputs for it via SDL_SetJoystickVirtualAxis(), SDL_SetJoystickVirtualButton(), etc. As this data is supplied, it will look like a normal joystick to SDL, just not backed by a hardware driver. This has been used to make unusual devices, like VR headset controllers, look like normal joysticks, or provide recording/playback of game inputs, etc. The joystick structure used to identify an SDL joystick.
This is opaque data.
Since: 3.2.0
Synopsis
- data SDL_Joystick
- newtype SDL_JoystickID = SDL_JoystickID {}
- newtype SDL_JoystickType = SDL_JoystickType {}
- pattern SDL_JOYSTICK_TYPE_UNKNOWN :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_GAMEPAD :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_WHEEL :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_ARCADE_STICK :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_FLIGHT_STICK :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_DANCE_PAD :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_GUITAR :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_DRUM_KIT :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_ARCADE_PAD :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_THROTTLE :: SDL_JoystickType
- pattern SDL_JOYSTICK_TYPE_COUNT :: SDL_JoystickType
- newtype SDL_JoystickConnectionState = SDL_JoystickConnectionState {}
- pattern SDL_JOYSTICK_CONNECTION_INVALID :: SDL_JoystickConnectionState
- pattern SDL_JOYSTICK_CONNECTION_UNKNOWN :: SDL_JoystickConnectionState
- pattern SDL_JOYSTICK_CONNECTION_WIRED :: SDL_JoystickConnectionState
- pattern SDL_JOYSTICK_CONNECTION_WIRELESS :: SDL_JoystickConnectionState
- sDL_JOYSTICK_AXIS_MAX :: CInt
- sDL_JOYSTICK_AXIS_MIN :: CInt
- data SDL_VirtualJoystickTouchpadDesc = SDL_VirtualJoystickTouchpadDesc {
- nfingers :: Uint16
- padding :: ConstantArray 3 Uint16
- data SDL_VirtualJoystickSensorDesc = SDL_VirtualJoystickSensorDesc {
- type' :: SDL_SensorType
- rate :: CFloat
- data SDL_VirtualJoystickDesc = SDL_VirtualJoystickDesc {
- version :: Uint32
- type' :: Uint16
- padding :: Uint16
- vendor_id :: Uint16
- product_id :: Uint16
- naxes :: Uint16
- nbuttons :: Uint16
- nballs :: Uint16
- nhats :: Uint16
- ntouchpads :: Uint16
- nsensors :: Uint16
- padding2 :: ConstantArray 2 Uint16
- button_mask :: Uint32
- axis_mask :: Uint32
- name :: PtrConst CChar
- touchpads :: PtrConst SDL_VirtualJoystickTouchpadDesc
- sensors :: PtrConst SDL_VirtualJoystickSensorDesc
- userdata :: Ptr Void
- update :: FunPtr (Ptr Void -> IO ())
- setPlayerIndex :: FunPtr (Ptr Void -> CInt -> IO ())
- rumble :: FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool)
- rumbleTriggers :: FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool)
- setLED :: FunPtr (Ptr Void -> Uint8 -> Uint8 -> Uint8 -> IO CBool)
- sendEffect :: FunPtr (Ptr Void -> PtrConst Void -> CInt -> IO CBool)
- setSensorsEnabled :: FunPtr (Ptr Void -> CBool -> IO CBool)
- cleanup :: FunPtr (Ptr Void -> IO ())
- sDL_PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN :: ByteString
- sDL_PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN :: ByteString
- sDL_PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN :: ByteString
- sDL_PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN :: ByteString
- sDL_PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN :: ByteString
- sDL_HAT_CENTERED :: CUInt
- sDL_HAT_UP :: CUInt
- sDL_HAT_RIGHT :: CUInt
- sDL_HAT_DOWN :: CUInt
- sDL_HAT_LEFT :: CUInt
- sDL_HAT_RIGHTUP :: CUInt
- sDL_HAT_RIGHTDOWN :: CUInt
- sDL_HAT_LEFTUP :: CUInt
- sDL_HAT_LEFTDOWN :: CUInt
Documentation
data SDL_Joystick Source #
- C declaration
struct SDL_Joystick, defined atSDL3/SDL_joystick.h 94:16
newtype SDL_JoystickID Source #
This is a unique ID for a joystick for the time it is connected to the system, and is never reused for the lifetime of the application.
If the joystick is disconnected and reconnected, it will get a new ID.
The value 0 is an invalid ID.
- C declaration
SDL_JoystickID, defined atSDL3/SDL_joystick.h 106:16
Since: 3.2.0
Constructors
| SDL_JoystickID | |
Instances
newtype SDL_JoystickType Source #
An enum of some common joystick types.
In some cases, SDL can identify a low-level joystick as being a certain type of device, and will report it through SDL_GetJoystickType (or SDL_GetJoystickTypeForID).
This is by no means a complete list of everything that can be plugged into a computer.
You may refer to XInput Controller Types table for a general understanding of each joystick type.
- C declaration
enum SDL_JoystickType, defined atSDL3/SDL_joystick.h 124:14
Since: 3.2.0
Constructors
| SDL_JoystickType | |
Instances
| Storable SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOf :: SDL_JoystickType -> Int # alignment :: SDL_JoystickType -> Int # peekElemOff :: Ptr SDL_JoystickType -> Int -> IO SDL_JoystickType # pokeElemOff :: Ptr SDL_JoystickType -> Int -> SDL_JoystickType -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_JoystickType # pokeByteOff :: Ptr b -> Int -> SDL_JoystickType -> IO () # peek :: Ptr SDL_JoystickType -> IO SDL_JoystickType # poke :: Ptr SDL_JoystickType -> SDL_JoystickType -> IO () # | |||||
| Generic SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
Methods from :: SDL_JoystickType -> Rep SDL_JoystickType x # to :: Rep SDL_JoystickType x -> SDL_JoystickType # | |||||
| Read SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods readsPrec :: Int -> ReadS SDL_JoystickType # readList :: ReadS [SDL_JoystickType] # | |||||
| Show SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods showsPrec :: Int -> SDL_JoystickType -> ShowS # show :: SDL_JoystickType -> String # showList :: [SDL_JoystickType] -> ShowS # | |||||
| Eq SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods (==) :: SDL_JoystickType -> SDL_JoystickType -> Bool # (/=) :: SDL_JoystickType -> SDL_JoystickType -> Bool # | |||||
| Ord SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods compare :: SDL_JoystickType -> SDL_JoystickType -> Ordering # (<) :: SDL_JoystickType -> SDL_JoystickType -> Bool # (<=) :: SDL_JoystickType -> SDL_JoystickType -> Bool # (>) :: SDL_JoystickType -> SDL_JoystickType -> Bool # (>=) :: SDL_JoystickType -> SDL_JoystickType -> Bool # max :: SDL_JoystickType -> SDL_JoystickType -> SDL_JoystickType # min :: SDL_JoystickType -> SDL_JoystickType -> SDL_JoystickType # | |||||
| Prim SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOfType# :: Proxy SDL_JoystickType -> Int# # sizeOf# :: SDL_JoystickType -> Int# # alignmentOfType# :: Proxy SDL_JoystickType -> Int# # alignment# :: SDL_JoystickType -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_JoystickType # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_JoystickType #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_JoystickType -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_JoystickType -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_JoystickType # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_JoystickType #) # writeOffAddr# :: Addr# -> Int# -> SDL_JoystickType -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_JoystickType -> State# s -> State# s # | |||||
| CEnum SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
Methods toCEnum :: CEnumZ SDL_JoystickType -> SDL_JoystickType # fromCEnum :: SDL_JoystickType -> CEnumZ SDL_JoystickType # declaredValues :: proxy SDL_JoystickType -> DeclaredValues SDL_JoystickType # showsUndeclared :: proxy SDL_JoystickType -> Int -> CEnumZ SDL_JoystickType -> ShowS # readPrecUndeclared :: ReadPrec SDL_JoystickType # isDeclared :: SDL_JoystickType -> Bool # mkDeclared :: CEnumZ SDL_JoystickType -> Maybe SDL_JoystickType # | |||||
| SequentialCEnum SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| HasFFIType SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
Methods toFFIType :: SDL_JoystickType -> FFIType SDL_JoystickType # fromFFIType :: FFIType SDL_JoystickType -> SDL_JoystickType # | |||||
| ReadRaw SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods | |||||
| StaticSize SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods staticSizeOf :: Proxy SDL_JoystickType -> Int # staticAlignment :: Proxy SDL_JoystickType -> Int # | |||||
| WriteRaw SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods writeRaw :: Ptr SDL_JoystickType -> SDL_JoystickType -> IO () # | |||||
| HasCField SDL_JoystickType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_JoystickType ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_JoystickType -> (ty -> SDL_JoystickType, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_JoystickType) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_JoystickType -> Ptr ty # | |||||
| type Rep SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type Rep SDL_JoystickType = D1 ('MetaData "SDL_JoystickType" "SDL3.Sys.Bindgen.Joystick" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_JoystickType" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type FFIType SDL_JoystickType Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_JoystickType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
pattern SDL_JOYSTICK_TYPE_UNKNOWN :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_UNKNOWN, defined atSDL3/SDL_joystick.h 126:5
pattern SDL_JOYSTICK_TYPE_GAMEPAD :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_GAMEPAD, defined atSDL3/SDL_joystick.h 127:5
pattern SDL_JOYSTICK_TYPE_WHEEL :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_WHEEL, defined atSDL3/SDL_joystick.h 128:5
pattern SDL_JOYSTICK_TYPE_ARCADE_STICK :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_ARCADE_STICK, defined atSDL3/SDL_joystick.h 129:5
pattern SDL_JOYSTICK_TYPE_FLIGHT_STICK :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_FLIGHT_STICK, defined atSDL3/SDL_joystick.h 130:5
pattern SDL_JOYSTICK_TYPE_DANCE_PAD :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_DANCE_PAD, defined atSDL3/SDL_joystick.h 131:5
pattern SDL_JOYSTICK_TYPE_GUITAR :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_GUITAR, defined atSDL3/SDL_joystick.h 132:5
pattern SDL_JOYSTICK_TYPE_DRUM_KIT :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_DRUM_KIT, defined atSDL3/SDL_joystick.h 133:5
pattern SDL_JOYSTICK_TYPE_ARCADE_PAD :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_ARCADE_PAD, defined atSDL3/SDL_joystick.h 134:5
pattern SDL_JOYSTICK_TYPE_THROTTLE :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_THROTTLE, defined atSDL3/SDL_joystick.h 135:5
pattern SDL_JOYSTICK_TYPE_COUNT :: SDL_JoystickType Source #
- C declaration
SDL_JOYSTICK_TYPE_COUNT, defined atSDL3/SDL_joystick.h 136:5
newtype SDL_JoystickConnectionState Source #
Possible connection states for a joystick device.
This is used by SDL_GetJoystickConnectionState to report how a device is connected to the system.
- C declaration
enum SDL_JoystickConnectionState, defined atSDL3/SDL_joystick.h 147:14
Since: 3.2.0
Constructors
| SDL_JoystickConnectionState | |
Instances
| Storable SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOf :: SDL_JoystickConnectionState -> Int # alignment :: SDL_JoystickConnectionState -> Int # peekElemOff :: Ptr SDL_JoystickConnectionState -> Int -> IO SDL_JoystickConnectionState # pokeElemOff :: Ptr SDL_JoystickConnectionState -> Int -> SDL_JoystickConnectionState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_JoystickConnectionState # pokeByteOff :: Ptr b -> Int -> SDL_JoystickConnectionState -> IO () # peek :: Ptr SDL_JoystickConnectionState -> IO SDL_JoystickConnectionState # poke :: Ptr SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> IO () # | |||||
| Generic SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
Methods from :: SDL_JoystickConnectionState -> Rep SDL_JoystickConnectionState x # to :: Rep SDL_JoystickConnectionState x -> SDL_JoystickConnectionState # | |||||
| Read SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| Show SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods showsPrec :: Int -> SDL_JoystickConnectionState -> ShowS # show :: SDL_JoystickConnectionState -> String # showList :: [SDL_JoystickConnectionState] -> ShowS # | |||||
| Eq SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods (==) :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Bool # (/=) :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Bool # | |||||
| Ord SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods compare :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Ordering # (<) :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Bool # (<=) :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Bool # (>) :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Bool # (>=) :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> Bool # max :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> SDL_JoystickConnectionState # min :: SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> SDL_JoystickConnectionState # | |||||
| Prim SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOfType# :: Proxy SDL_JoystickConnectionState -> Int# # sizeOf# :: SDL_JoystickConnectionState -> Int# # alignmentOfType# :: Proxy SDL_JoystickConnectionState -> Int# # alignment# :: SDL_JoystickConnectionState -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_JoystickConnectionState # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_JoystickConnectionState #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_JoystickConnectionState -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_JoystickConnectionState -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_JoystickConnectionState # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_JoystickConnectionState #) # writeOffAddr# :: Addr# -> Int# -> SDL_JoystickConnectionState -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_JoystickConnectionState -> State# s -> State# s # | |||||
| CEnum SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
Methods toCEnum :: CEnumZ SDL_JoystickConnectionState -> SDL_JoystickConnectionState # fromCEnum :: SDL_JoystickConnectionState -> CEnumZ SDL_JoystickConnectionState # declaredValues :: proxy SDL_JoystickConnectionState -> DeclaredValues SDL_JoystickConnectionState # showsUndeclared :: proxy SDL_JoystickConnectionState -> Int -> CEnumZ SDL_JoystickConnectionState -> ShowS # readPrecUndeclared :: ReadPrec SDL_JoystickConnectionState # isDeclared :: SDL_JoystickConnectionState -> Bool # mkDeclared :: CEnumZ SDL_JoystickConnectionState -> Maybe SDL_JoystickConnectionState # | |||||
| SequentialCEnum SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| HasFFIType SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| ReadRaw SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods readRaw :: Ptr SDL_JoystickConnectionState -> IO SDL_JoystickConnectionState # | |||||
| StaticSize SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods staticSizeOf :: Proxy SDL_JoystickConnectionState -> Int # staticAlignment :: Proxy SDL_JoystickConnectionState -> Int # | |||||
| WriteRaw SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods writeRaw :: Ptr SDL_JoystickConnectionState -> SDL_JoystickConnectionState -> IO () # | |||||
| HasCField SDL_JoystickConnectionState "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| ty ~ CInt => HasField "unwrap" SDL_JoystickConnectionState ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_JoystickConnectionState -> (ty -> SDL_JoystickConnectionState, ty) # | |||||
| ty ~ CInt => HasField "unwrap" (Ptr SDL_JoystickConnectionState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_JoystickConnectionState -> Ptr ty # | |||||
| type Rep SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type Rep SDL_JoystickConnectionState = D1 ('MetaData "SDL_JoystickConnectionState" "SDL3.Sys.Bindgen.Joystick" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_JoystickConnectionState" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CInt))) | |||||
| type CEnumZ SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type FFIType SDL_JoystickConnectionState Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_JoystickConnectionState "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
pattern SDL_JOYSTICK_CONNECTION_INVALID :: SDL_JoystickConnectionState Source #
- C declaration
SDL_JOYSTICK_CONNECTION_INVALID, defined atSDL3/SDL_joystick.h 149:5
pattern SDL_JOYSTICK_CONNECTION_UNKNOWN :: SDL_JoystickConnectionState Source #
- C declaration
SDL_JOYSTICK_CONNECTION_UNKNOWN, defined atSDL3/SDL_joystick.h 150:5
pattern SDL_JOYSTICK_CONNECTION_WIRED :: SDL_JoystickConnectionState Source #
- C declaration
SDL_JOYSTICK_CONNECTION_WIRED, defined atSDL3/SDL_joystick.h 151:5
pattern SDL_JOYSTICK_CONNECTION_WIRELESS :: SDL_JoystickConnectionState Source #
- C declaration
SDL_JOYSTICK_CONNECTION_WIRELESS, defined atSDL3/SDL_joystick.h 152:5
sDL_JOYSTICK_AXIS_MAX :: CInt Source #
The largest value an SDL_Joystick 's axis can report.
- See also
sDL_JOYSTICK_AXIS_MIN- C declaration
macro SDL_JOYSTICK_AXIS_MAX, defined atSDL3/SDL_joystick.h 162:9
Since: 3.2.0
sDL_JOYSTICK_AXIS_MIN :: CInt Source #
The smallest value an SDL_Joystick 's axis can report.
This is a negative number!
- See also
sDL_JOYSTICK_AXIS_MAX- C declaration
macro SDL_JOYSTICK_AXIS_MIN, defined atSDL3/SDL_joystick.h 173:9
Since: 3.2.0
data SDL_VirtualJoystickTouchpadDesc Source #
The structure that describes a virtual joystick touchpad.
- See also
SDL_VirtualJoystickDesc- C declaration
struct SDL_VirtualJoystickTouchpadDesc, defined atSDL3/SDL_joystick.h 433:16
Since: 3.2.0
Constructors
| SDL_VirtualJoystickTouchpadDesc | |
Fields
| |
Instances
| Storable SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOf :: SDL_VirtualJoystickTouchpadDesc -> Int # alignment :: SDL_VirtualJoystickTouchpadDesc -> Int # peekElemOff :: Ptr SDL_VirtualJoystickTouchpadDesc -> Int -> IO SDL_VirtualJoystickTouchpadDesc # pokeElemOff :: Ptr SDL_VirtualJoystickTouchpadDesc -> Int -> SDL_VirtualJoystickTouchpadDesc -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_VirtualJoystickTouchpadDesc # pokeByteOff :: Ptr b -> Int -> SDL_VirtualJoystickTouchpadDesc -> IO () # peek :: Ptr SDL_VirtualJoystickTouchpadDesc -> IO SDL_VirtualJoystickTouchpadDesc # poke :: Ptr SDL_VirtualJoystickTouchpadDesc -> SDL_VirtualJoystickTouchpadDesc -> IO () # | |||||
| Generic SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| Show SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods showsPrec :: Int -> SDL_VirtualJoystickTouchpadDesc -> ShowS # | |||||
| Eq SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| ReadRaw SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| StaticSize SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods staticSizeOf :: Proxy SDL_VirtualJoystickTouchpadDesc -> Int # staticAlignment :: Proxy SDL_VirtualJoystickTouchpadDesc -> Int # | |||||
| WriteRaw SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods writeRaw :: Ptr SDL_VirtualJoystickTouchpadDesc -> SDL_VirtualJoystickTouchpadDesc -> IO () # | |||||
| IsStruct SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods | |||||
| HasCField SDL_VirtualJoystickTouchpadDesc "nfingers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickTouchpadDesc "padding" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| ty ~ Uint16 => HasField "nfingers" SDL_VirtualJoystickTouchpadDesc ty Source # | the number of simultaneous fingers on this touchpad
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickTouchpadDesc -> (ty -> SDL_VirtualJoystickTouchpadDesc, ty) # | |||||
| ty ~ ConstantArray 3 Uint16 => HasField "padding" SDL_VirtualJoystickTouchpadDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickTouchpadDesc -> (ty -> SDL_VirtualJoystickTouchpadDesc, ty) # | |||||
| ty ~ Uint16 => HasField "nfingers" (Ptr SDL_VirtualJoystickTouchpadDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickTouchpadDesc -> Ptr ty # | |||||
| ty ~ ConstantArray 3 Uint16 => HasField "padding" (Ptr SDL_VirtualJoystickTouchpadDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickTouchpadDesc -> Ptr ty # | |||||
| type Rep SDL_VirtualJoystickTouchpadDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type Rep SDL_VirtualJoystickTouchpadDesc = D1 ('MetaData "SDL_VirtualJoystickTouchpadDesc" "SDL3.Sys.Bindgen.Joystick" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_VirtualJoystickTouchpadDesc" 'PrefixI 'True) (S1 ('MetaSel ('Just "nfingers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: S1 ('MetaSel ('Just "padding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ConstantArray 3 Uint16)))) | |||||
| type CFieldType SDL_VirtualJoystickTouchpadDesc "nfingers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickTouchpadDesc "padding" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
data SDL_VirtualJoystickSensorDesc Source #
The structure that describes a virtual joystick sensor.
- See also
SDL_VirtualJoystickDesc- C declaration
struct SDL_VirtualJoystickSensorDesc, defined atSDL3/SDL_joystick.h 446:16
Since: 3.2.0
Constructors
| SDL_VirtualJoystickSensorDesc | |
Fields
| |
Instances
| Storable SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOf :: SDL_VirtualJoystickSensorDesc -> Int # alignment :: SDL_VirtualJoystickSensorDesc -> Int # peekElemOff :: Ptr SDL_VirtualJoystickSensorDesc -> Int -> IO SDL_VirtualJoystickSensorDesc # pokeElemOff :: Ptr SDL_VirtualJoystickSensorDesc -> Int -> SDL_VirtualJoystickSensorDesc -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_VirtualJoystickSensorDesc # pokeByteOff :: Ptr b -> Int -> SDL_VirtualJoystickSensorDesc -> IO () # peek :: Ptr SDL_VirtualJoystickSensorDesc -> IO SDL_VirtualJoystickSensorDesc # poke :: Ptr SDL_VirtualJoystickSensorDesc -> SDL_VirtualJoystickSensorDesc -> IO () # | |||||
| Generic SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| Show SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods showsPrec :: Int -> SDL_VirtualJoystickSensorDesc -> ShowS # show :: SDL_VirtualJoystickSensorDesc -> String # showList :: [SDL_VirtualJoystickSensorDesc] -> ShowS # | |||||
| Eq SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| ReadRaw SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods readRaw :: Ptr SDL_VirtualJoystickSensorDesc -> IO SDL_VirtualJoystickSensorDesc # | |||||
| StaticSize SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods staticSizeOf :: Proxy SDL_VirtualJoystickSensorDesc -> Int # staticAlignment :: Proxy SDL_VirtualJoystickSensorDesc -> Int # | |||||
| WriteRaw SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods writeRaw :: Ptr SDL_VirtualJoystickSensorDesc -> SDL_VirtualJoystickSensorDesc -> IO () # | |||||
| IsStruct SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods | |||||
| HasCField SDL_VirtualJoystickSensorDesc "rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickSensorDesc "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| ty ~ CFloat => HasField "rate" SDL_VirtualJoystickSensorDesc ty Source # | the update frequency of this sensor, may be 0.0f
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickSensorDesc -> (ty -> SDL_VirtualJoystickSensorDesc, ty) # | |||||
| ty ~ SDL_SensorType => HasField "type'" SDL_VirtualJoystickSensorDesc ty Source # | the type of this sensor
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickSensorDesc -> (ty -> SDL_VirtualJoystickSensorDesc, ty) # | |||||
| ty ~ CFloat => HasField "rate" (Ptr SDL_VirtualJoystickSensorDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickSensorDesc -> Ptr ty # | |||||
| ty ~ SDL_SensorType => HasField "type'" (Ptr SDL_VirtualJoystickSensorDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickSensorDesc -> Ptr ty # | |||||
| type Rep SDL_VirtualJoystickSensorDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type Rep SDL_VirtualJoystickSensorDesc = D1 ('MetaData "SDL_VirtualJoystickSensorDesc" "SDL3.Sys.Bindgen.Joystick" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_VirtualJoystickSensorDesc" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_SensorType) :*: S1 ('MetaSel ('Just "rate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat))) | |||||
| type CFieldType SDL_VirtualJoystickSensorDesc "rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickSensorDesc "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
data SDL_VirtualJoystickDesc Source #
The structure that describes a virtual joystick.
This structure should be initialized using SDL_INIT_INTERFACE(). All elements of this structure are optional.
- See also
sDL_AttachVirtualJoystick, SDL_INIT_INTERFACE,SDL_VirtualJoystickSensorDesc,SDL_VirtualJoystickTouchpadDesc- C declaration
struct SDL_VirtualJoystickDesc, defined atSDL3/SDL_joystick.h 465:16
Since: 3.2.0
Constructors
| SDL_VirtualJoystickDesc | |
Fields
| |
Instances
| Storable SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods sizeOf :: SDL_VirtualJoystickDesc -> Int # alignment :: SDL_VirtualJoystickDesc -> Int # peekElemOff :: Ptr SDL_VirtualJoystickDesc -> Int -> IO SDL_VirtualJoystickDesc # pokeElemOff :: Ptr SDL_VirtualJoystickDesc -> Int -> SDL_VirtualJoystickDesc -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_VirtualJoystickDesc # pokeByteOff :: Ptr b -> Int -> SDL_VirtualJoystickDesc -> IO () # peek :: Ptr SDL_VirtualJoystickDesc -> IO SDL_VirtualJoystickDesc # poke :: Ptr SDL_VirtualJoystickDesc -> SDL_VirtualJoystickDesc -> IO () # | |||||
| Generic SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
Methods from :: SDL_VirtualJoystickDesc -> Rep SDL_VirtualJoystickDesc x # to :: Rep SDL_VirtualJoystickDesc x -> SDL_VirtualJoystickDesc # | |||||
| Show SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods showsPrec :: Int -> SDL_VirtualJoystickDesc -> ShowS # show :: SDL_VirtualJoystickDesc -> String # showList :: [SDL_VirtualJoystickDesc] -> ShowS # | |||||
| Eq SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods (==) :: SDL_VirtualJoystickDesc -> SDL_VirtualJoystickDesc -> Bool # (/=) :: SDL_VirtualJoystickDesc -> SDL_VirtualJoystickDesc -> Bool # | |||||
| ReadRaw SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods readRaw :: Ptr SDL_VirtualJoystickDesc -> IO SDL_VirtualJoystickDesc # | |||||
| StaticSize SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods | |||||
| WriteRaw SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods writeRaw :: Ptr SDL_VirtualJoystickDesc -> SDL_VirtualJoystickDesc -> IO () # | |||||
| IsStruct SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods | |||||
| HasCField SDL_VirtualJoystickDesc "axis_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "button_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "cleanup" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "name" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "naxes" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "nballs" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "nbuttons" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "nhats" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "nsensors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "ntouchpads" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "padding" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "product_id" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "rumble" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "rumbleTriggers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "sendEffect" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "sensors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "setLED" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "setPlayerIndex" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "setSensorsEnabled" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "touchpads" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "update" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "userdata" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "vendor_id" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| HasCField SDL_VirtualJoystickDesc "version" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Associated Types
| |||||
| ty ~ Uint32 => HasField "axis_mask" SDL_VirtualJoystickDesc ty Source # | A mask of which axes are valid for this controller e.g. (1 << SDL_GAMEPAD_AXIS_LEFTX)
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint32 => HasField "button_mask" SDL_VirtualJoystickDesc ty Source # | A mask of which buttons are valid for this controller e.g. (1 << SDL_GAMEPAD_BUTTON_SOUTH)
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> IO ()) => HasField "cleanup" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ PtrConst CChar => HasField "name" SDL_VirtualJoystickDesc ty Source # | the name of the joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "naxes" SDL_VirtualJoystickDesc ty Source # | the number of axes on this joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "nballs" SDL_VirtualJoystickDesc ty Source # | the number of balls on this joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "nbuttons" SDL_VirtualJoystickDesc ty Source # | the number of buttons on this joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "nhats" SDL_VirtualJoystickDesc ty Source # | the number of hats on this joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "nsensors" SDL_VirtualJoystickDesc ty Source # | the number of sensors on this joystick, requires
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "ntouchpads" SDL_VirtualJoystickDesc ty Source # | the number of touchpads on this joystick, requires
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "padding" SDL_VirtualJoystickDesc ty Source # | unused
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ ConstantArray 2 Uint16 => HasField "padding2" SDL_VirtualJoystickDesc ty Source # | unused
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "product_id" SDL_VirtualJoystickDesc ty Source # | the USB product ID of this joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool) => HasField "rumble" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool) => HasField "rumbleTriggers" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> PtrConst Void -> CInt -> IO CBool) => HasField "sendEffect" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ PtrConst SDL_VirtualJoystickSensorDesc => HasField "sensors" SDL_VirtualJoystickDesc ty Source # | A pointer to an array of sensor descriptions, required if
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> Uint8 -> Uint8 -> Uint8 -> IO CBool) => HasField "setLED" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> CInt -> IO ()) => HasField "setPlayerIndex" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> CBool -> IO CBool) => HasField "setSensorsEnabled" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ PtrConst SDL_VirtualJoystickTouchpadDesc => HasField "touchpads" SDL_VirtualJoystickDesc ty Source # | A pointer to an array of touchpad descriptions, required if
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "type'" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ FunPtr (Ptr Void -> IO ()) => HasField "update" SDL_VirtualJoystickDesc ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Ptr Void => HasField "userdata" SDL_VirtualJoystickDesc ty Source # | User data pointer passed to callbacks
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint16 => HasField "vendor_id" SDL_VirtualJoystickDesc ty Source # | the USB vendor ID of this joystick
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint32 => HasField "version" SDL_VirtualJoystickDesc ty Source # | the version of this interface
| ||||
Defined in SDL3.Sys.Bindgen.Joystick Methods hasField :: SDL_VirtualJoystickDesc -> (ty -> SDL_VirtualJoystickDesc, ty) # | |||||
| ty ~ Uint32 => HasField "axis_mask" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "button_mask" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> IO ()) => HasField "cleanup" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ PtrConst CChar => HasField "name" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "naxes" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "nballs" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "nbuttons" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "nhats" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "nsensors" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "ntouchpads" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "padding" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ ConstantArray 2 Uint16 => HasField "padding2" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "product_id" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool) => HasField "rumble" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool) => HasField "rumbleTriggers" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> PtrConst Void -> CInt -> IO CBool) => HasField "sendEffect" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ PtrConst SDL_VirtualJoystickSensorDesc => HasField "sensors" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> Uint8 -> Uint8 -> Uint8 -> IO CBool) => HasField "setLED" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> CInt -> IO ()) => HasField "setPlayerIndex" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> CBool -> IO CBool) => HasField "setSensorsEnabled" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ PtrConst SDL_VirtualJoystickTouchpadDesc => HasField "touchpads" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "type'" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ FunPtr (Ptr Void -> IO ()) => HasField "update" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Ptr Void => HasField "userdata" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint16 => HasField "vendor_id" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "version" (Ptr SDL_VirtualJoystickDesc) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick Methods getField :: Ptr SDL_VirtualJoystickDesc -> Ptr ty # | |||||
| type Rep SDL_VirtualJoystickDesc Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type Rep SDL_VirtualJoystickDesc = D1 ('MetaData "SDL_VirtualJoystickDesc" "SDL3.Sys.Bindgen.Joystick" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_VirtualJoystickDesc" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: S1 ('MetaSel ('Just "padding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16))) :*: (S1 ('MetaSel ('Just "vendor_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: (S1 ('MetaSel ('Just "product_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: S1 ('MetaSel ('Just "naxes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16)))) :*: ((S1 ('MetaSel ('Just "nbuttons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: (S1 ('MetaSel ('Just "nballs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: S1 ('MetaSel ('Just "nhats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16))) :*: ((S1 ('MetaSel ('Just "ntouchpads") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16) :*: S1 ('MetaSel ('Just "nsensors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint16)) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ConstantArray 2 Uint16)) :*: S1 ('MetaSel ('Just "button_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))))) :*: (((S1 ('MetaSel ('Just "axis_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst CChar)) :*: S1 ('MetaSel ('Just "touchpads") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst SDL_VirtualJoystickTouchpadDesc)))) :*: (S1 ('MetaSel ('Just "sensors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst SDL_VirtualJoystickSensorDesc)) :*: (S1 ('MetaSel ('Just "userdata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Void)) :*: S1 ('MetaSel ('Just "update") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> IO ())))))) :*: ((S1 ('MetaSel ('Just "setPlayerIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> CInt -> IO ()))) :*: (S1 ('MetaSel ('Just "rumble") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool))) :*: S1 ('MetaSel ('Just "rumbleTriggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool))))) :*: ((S1 ('MetaSel ('Just "setLED") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> Uint8 -> Uint8 -> Uint8 -> IO CBool))) :*: S1 ('MetaSel ('Just "sendEffect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> PtrConst Void -> CInt -> IO CBool)))) :*: (S1 ('MetaSel ('Just "setSensorsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> CBool -> IO CBool))) :*: S1 ('MetaSel ('Just "cleanup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunPtr (Ptr Void -> IO ()))))))))) | |||||
| type CFieldType SDL_VirtualJoystickDesc "axis_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "button_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "cleanup" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "name" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "naxes" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "nballs" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "nbuttons" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "nhats" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "nsensors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "ntouchpads" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "padding" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "product_id" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "rumble" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type CFieldType SDL_VirtualJoystickDesc "rumble" = FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool) | |||||
| type CFieldType SDL_VirtualJoystickDesc "rumbleTriggers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type CFieldType SDL_VirtualJoystickDesc "rumbleTriggers" = FunPtr (Ptr Void -> Uint16 -> Uint16 -> IO CBool) | |||||
| type CFieldType SDL_VirtualJoystickDesc "sendEffect" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type CFieldType SDL_VirtualJoystickDesc "sendEffect" = FunPtr (Ptr Void -> PtrConst Void -> CInt -> IO CBool) | |||||
| type CFieldType SDL_VirtualJoystickDesc "sensors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "setLED" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type CFieldType SDL_VirtualJoystickDesc "setLED" = FunPtr (Ptr Void -> Uint8 -> Uint8 -> Uint8 -> IO CBool) | |||||
| type CFieldType SDL_VirtualJoystickDesc "setPlayerIndex" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "setSensorsEnabled" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick type CFieldType SDL_VirtualJoystickDesc "setSensorsEnabled" = FunPtr (Ptr Void -> CBool -> IO CBool) | |||||
| type CFieldType SDL_VirtualJoystickDesc "touchpads" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "update" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "userdata" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "vendor_id" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
| type CFieldType SDL_VirtualJoystickDesc "version" Source # | |||||
Defined in SDL3.Sys.Bindgen.Joystick | |||||
sDL_PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_JOYSTICK_CAP_MONO_LED_BOOLEAN, literal"SDL.joystick.cap.mono_led", defined atSDL3/SDL_joystick.h 772:9
sDL_PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_JOYSTICK_CAP_RGB_LED_BOOLEAN, literal"SDL.joystick.cap.rgb_led", defined atSDL3/SDL_joystick.h 773:9
sDL_PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_JOYSTICK_CAP_PLAYER_LED_BOOLEAN, literal"SDL.joystick.cap.player_led", defined atSDL3/SDL_joystick.h 774:9
sDL_PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_JOYSTICK_CAP_RUMBLE_BOOLEAN, literal"SDL.joystick.cap.rumble", defined atSDL3/SDL_joystick.h 775:9
sDL_PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_JOYSTICK_CAP_TRIGGER_RUMBLE_BOOLEAN, literal"SDL.joystick.cap.trigger_rumble", defined atSDL3/SDL_joystick.h 776:9
sDL_HAT_CENTERED :: CUInt Source #
- C declaration
macro SDL_HAT_CENTERED, defined atSDL3/SDL_joystick.h 1212:9
sDL_HAT_UP :: CUInt Source #
- C declaration
macro SDL_HAT_UP, defined atSDL3/SDL_joystick.h 1213:9
sDL_HAT_RIGHT :: CUInt Source #
- C declaration
macro SDL_HAT_RIGHT, defined atSDL3/SDL_joystick.h 1214:9
sDL_HAT_DOWN :: CUInt Source #
- C declaration
macro SDL_HAT_DOWN, defined atSDL3/SDL_joystick.h 1215:9
sDL_HAT_LEFT :: CUInt Source #
- C declaration
macro SDL_HAT_LEFT, defined atSDL3/SDL_joystick.h 1216:9
sDL_HAT_RIGHTUP :: CUInt Source #
- C declaration
macro SDL_HAT_RIGHTUP, defined atSDL3/SDL_joystick.h 1217:9
sDL_HAT_RIGHTDOWN :: CUInt Source #
- C declaration
macro SDL_HAT_RIGHTDOWN, defined atSDL3/SDL_joystick.h 1218:9
sDL_HAT_LEFTUP :: CUInt Source #
- C declaration
macro SDL_HAT_LEFTUP, defined atSDL3/SDL_joystick.h 1219:9
sDL_HAT_LEFTDOWN :: CUInt Source #
- C declaration
macro SDL_HAT_LEFTDOWN, defined atSDL3/SDL_joystick.h 1220:9