diff options
author | 3gg <3gg@shellblade.net> | 2024-05-04 16:51:29 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-05-04 16:51:29 -0700 |
commit | 8222bfe56d4dabe8d92fc4b25ea1b0163b16f3e1 (patch) | |
tree | 763389e42276035ac134d94eb1dc32293b88d807 /src/contrib/SDL-2.30.2/docs/README-kmsbsd.md |
Initial commit.
Diffstat (limited to 'src/contrib/SDL-2.30.2/docs/README-kmsbsd.md')
-rw-r--r-- | src/contrib/SDL-2.30.2/docs/README-kmsbsd.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/contrib/SDL-2.30.2/docs/README-kmsbsd.md b/src/contrib/SDL-2.30.2/docs/README-kmsbsd.md new file mode 100644 index 0000000..1aad380 --- /dev/null +++ b/src/contrib/SDL-2.30.2/docs/README-kmsbsd.md | |||
@@ -0,0 +1,27 @@ | |||
1 | KMSDRM on *BSD | ||
2 | ================================================== | ||
3 | |||
4 | KMSDRM is supported on FreeBSD and OpenBSD. DragonFlyBSD works but requires being a root user. NetBSD isn't supported yet because the application will crash when creating the KMSDRM screen. | ||
5 | |||
6 | WSCONS support has been brought back, but only as an input backend. It will not be brought back as a video backend to ease maintenance. | ||
7 | |||
8 | OpenBSD note: Note that the video backend assumes that the user has read/write permissions to the /dev/drm* devices. | ||
9 | |||
10 | |||
11 | SDL2 WSCONS input backend features | ||
12 | =================================================== | ||
13 | 1. It is keymap-aware; it will work properly with different keymaps. | ||
14 | 2. It has mouse support. | ||
15 | 3. Accent input is supported. | ||
16 | 4. Compose keys are supported. | ||
17 | 5. AltGr and Meta Shift keys work as intended. | ||
18 | |||
19 | Partially working or no input on OpenBSD/NetBSD. | ||
20 | ================================================== | ||
21 | |||
22 | The WSCONS input backend needs read/write access to the /dev/wskbd* devices, without which it will not work properly. /dev/wsmouse must also be read/write accessible, otherwise mouse input will not work. | ||
23 | |||
24 | Partially working or no input on FreeBSD. | ||
25 | ================================================== | ||
26 | |||
27 | The evdev devices are only accessible to the root user by default. Edit devfs rules to allow access to such devices. The /dev/kbd* devices are also only accessible to the root user by default. Edit devfs rules to allow access to such devices. | ||