Hello.
I try to make work the "Keyboard event" step from the Wayland-book but the C
demo crash at loading.
The problem comes from the mapping: with that error:
Line 301: wl_keyboard_keymap: Assertion map_shm != MAP_FAILED' failed.
Here is the function:
static void
wl_keyboard_keymap(void *
of the keys. The same for the translated Pascal code.
But ok, I will try to make the map-keyboard working thanks to with your advices.
Many thanks.
Write you later.
Fre;D
De : Emmanuel Gil Peyrot
Envoyé : mercredi 4 octobre 2023 20:28
À : Fred vS
Cc : wayland
https://wayland-book.com/seat/example.html
But I dont know where/who to advice to fix the code of wayland-book.
Anyway, many thanks Emmanuel for your precious eyes and advices.
I can continue now the Wayland exploration...
Fre;D
De : Fred vS
Envoyé : mercredi 4 o
Hello.
I try to make work the "Keyboard event" step from the Wayland-book but the C
demo crash at loading.
The problem comes from the mapping: with that error:
Line 301: wl_keyboard_keymap: Assertion map_shm != MAP_FAILED' failed.
Here is the function:
static void
wl_keyboard_keymap(void *
Sorry for that double post.
It was already solved by Emmanuel.
Fre;D
De : wayland-devel de la part de
Fred vS
Envoyé : mercredi 4 octobre 2023 20:14
À : wayland-devel@lists.freedesktop.org
Objet : Problem with mmap keyboard.
Hello.
I try to make work the
Hello.
I try to create Wayland applications with inspiration from demo-code.
I did lot of search in internet and finally found one site that gives +-
working demos:
https://wayland-book.com
There are some code that must be updated (because obsolete) but all "steps"
souce code are working.
Sadl