145 Commits
Author SHA1 Message Date
Cobrand e865c8f464 Add events example, add missing events 2019-11-06 11:50:42 +00:00
Jakub Stasiak 4e37c1b789 Fix clicking and volume control in the audio-wav example 2019-10-23 02:53:28 +02:00
Cobrand 1d5f701d0f Enable no_std for sdl2-sys 2019-03-23 15:04:53 +00:00
Sunjay Varma 37cf5f76ac Replaced all calls to unwrap() in examples with either the ? operator or expect 2019-01-13 22:49:05 +01:00
Drew Pirrone-Brusse 8f27656a6a Update to bitflags 1.* from 0.7 2018-12-21 13:37:06 +01:00
Niels Wießner 5b7d1c108f Modify joystick example to include set_rumble 2018-12-10 23:22:59 +01:00
Niels Wießner 59ad1c094b Modify game-controller example to include set_rumble 2018-12-10 23:07:57 +01:00
Cobrand cfced74f15 Fix audio whitenoise example 2018-10-15 17:31:20 +00:00
Jon Emil Jahren a27c3c62a5 Convert SDL_mixer bindings into autogenerated bindings
Progresses on #647
2018-04-02 11:19:22 +02:00
Jessica Stokes 809fee03a1 Use power_level in the joystick example 2018-03-31 18:58:33 +02:00
Constantin Nickel 8184caf3fd sdl2::mixer::open_audio must be called before other functions 2018-02-15 18:14:45 -08:00
Martin Lindhe 80fbbab198 avoid dependency of gfx 2017-12-26 19:39:10 +01:00
Martin Lindhe 87db9987c8 add an example using a custom mouse cursor
example: cargo run --example cursor --features="image gfx" assets/cursor.png
2017-12-21 13:34:40 +01:00
vrinek 58989c973d Remove unused macro definition 2017-11-08 18:31:32 -08:00
Luke Jones 600ddbf593 Update animation.rs and change art to CC0 licensed art 2017-10-31 08:18:06 +01:00
Cobrand bb0d05ff6c Merge pull request 695, add bindgen support 2017-10-27 07:15:29 +00:00
Jessica Stokes 5809b73e53 Update haptic example to use joystick index 2017-10-09 21:05:01 -07:00
Dario Ostuni b32d1fca5d Update bundled SDL2 headers to version 2.0.6 2017-09-23 21:27:38 +02:00
Dario Ostuni e3d70f63c2 Sync with master 2017-09-23 21:06:08 +02:00
Joshua Erney 0f44d43595 Fix floating-point literal used in pattern in example (#705) 2017-09-21 18:33:06 +02:00
Dario Ostuni 7eacb548ad Sync with master 2017-09-05 16:23:43 +02:00
Cobrand ceb547d92f Update examples in Cargo.toml to avoid failing tests with unsafe_textures feature 2017-09-04 22:33:15 -07:00
Dario Ostuni b00e88962c Introducing bindgen 2017-08-30 23:16:51 +02:00
shybyte 0e2ac14266 Fixed clippy warnings in audio-capture-and-replay example. 2017-07-08 22:09:27 -07:00
shybyte 059cf96ee5 Do not specify AudioSpecDesired.freq in audio-capture-and-replay example in order to avoid problems with sound cards, which might not be able to record with 44100 hz. 2017-07-08 22:09:27 -07:00