dart_sdl 0.5.0 dart_sdl: ^0.5.0 copied to clipboard
Dart bindings for SDL.
Changelog #
[0.5.0] #
Changed #
- Changed the signature for the haptic effects constructors.
- Hopefully plugged a load of memory leaks.
[0.4.1] #
Added #
- Added the
Sdl.getEvents
stream, which allows you to specify a delay between polling for events.
[0.3.3] #
Added #
- SDL_Delay
- SDL_GetKeyboardFocus
- SDL_GetKeyboardState
- SDL_GetKeyFromName
- SDL_GetKeyFromScancode
- SDL_GetKeyName
- SDL_GetModState
- SDL_GetScancodeFromKey
- SDL_GetScancodeFromName
- SDL_GetScancodeName
- SDL_HasScreenKeyboardSupport
- SDL_IsScreenKeyboardShown
- SDL_IsTextInputActive
- SDL_Keymod
- SDL_SetModState
- SDL_StartTextInput
- SDL_StopTextInput
- SDL_CaptureMouse
- SDL_GetMouseFocus
- SDL_GetRelativeMouseMode
- SDL_SetRelativeMouseMode
- SDL_ShowCursor
- SDL_WarpMouseGlobal
- SDL_WarpMouseInWindow
- SDL_NumSensors
- SDL_HapticClose
- SDL_HapticCondition
- SDL_HapticConstant
- SDL_HapticDestroyEffect
- SDL_HapticDirection
- SDL_HapticEffect
- SDL_HapticGetEffectStatus
- SDL_HapticEffectSupported
- SDL_HapticIndex
- SDL_HapticName
- SDL_HapticNewEffect
- SDL_HapticNumAxes
- SDL_HapticNumEffects
- SDL_HapticNumEffectsPlaying
- SDL_HapticOpen
- SDL_HapticOpened
- SDL_HapticOpenFromMouse
- SDL_HapticOpenFromJoystick
- SDL_JoystickIsHaptic
- SDL_MouseIsHaptic
- SDL_NumHaptics
- SDL_HapticPause
- SDL_HapticRumbleInit
- SDL_HapticRumblePlay
- SDL_HapticRumbleStop
- SDL_HapticRumbleSupported
- SDL_HapticRunEffect
- SDL_HapticSetAutocenter
- SDL_HapticSetGain
- SDL_HapticStopAll
- SDL_HapticStopEffect
- SDL_HapticUnpause
- SDL_HapticUpdateEffect
Changed #
- Changed the constructor for the
KeyboardKey
class. - Changed
KeyboardKey.modifiers
to a list ofKeyMod
values.
[0.2.0] #
Added #
- Added a binding for SDL_GetWindowFromID as
Window.fromId
.
Changed #
- Changed the return type of
Joystick.controller
toGameController?
, to account for the controller not being open, and an empty error string being present.
Removed #
- No longer cache objects.
[0.1.3] #
Added #
- Added bindings for SDL_GameControllerEventState.