summaryrefslogtreecommitdiff
path: root/posts/2022-10-23-guile-sdl2-0.8.0-released.md
blob: de0212e15d5f1d0f5a15deafb3f46f05283b6e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
title: Guile-SDL2 0.8.0 released
date: 2022-10-23 08:00:00
tags: guile, gamedev, guile-sdl2, release
summary: Guile-SDL2 0.8.0 has been released
---

I'm happy to announce that Guile-SDL2 0.8.0 has been released!
Guile-SDL2 provides Guile Scheme bindings for the SDL2 C shared
library. The bindings are written in pure Scheme using Guile's foreign
function interface.

New bindings in this release:

* SDL_GetScancodeFromKey
* SDL_UpdateTexture
* SDL_CreateSystemCursor
* SDL_CreateColorCursor
* SDL_FreeCursor
* SDL_SetCursor
* SDL_GetCursor
* SDL_ShowCursor

Additional controller buttons `misc-1`, `paddle-1`, `paddle-2`,
`paddle-3`, `paddle-4`, and `touch-pad` are now supported.

`set-texture-blend-mode!` in `(sdl2 render)` is now publicly exported.

Shared library lookup falls back to absolute file names even in the
presence of `LD_LIBRARY_PATH`.

Window "take focus" and "hit test" events are now supported.

Improved support for custom keyboard layouts, though there's still
issues in this area.  I remap caps lock to control but SDL2 is still
seeing it as the caps lock key, unfortunately.

Thanks to Liliana Prikler and Ekaitz Zarraga for their contributions
to this release.

tarball: <https://files.dthompson.us/guile-sdl2/guile-sdl2-0.8.0.tar.gz>

signature: <https://files.dthompson.us/guile-sdl2/guile-sdl2-0.8.0.tar.gz.asc>

See the
[Guile-SDL2 project page](https://dthompson.us/projects/guile-sdl2.html)
for more information.

Bug reports, bug fixes, feature requests, and patches are welcomed.

Happy hacking!