We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5461 - [patch] Add rewritten WSCONS driver for OpenBSD
Summary: [patch] Add rewritten WSCONS driver for OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.1
Hardware: All OpenBSD
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-12 17:04 UTC by wahil1976
Modified: 2021-01-14 22:32 UTC (History)
1 user (show)

See Also:


Attachments
Patch file for WSCONS support (41.82 KB, patch)
2021-01-12 17:04 UTC, wahil1976
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wahil1976 2021-01-12 17:04:27 UTC
Created attachment 4658 [details]
Patch file for WSCONS support

This patch adds a written-from-scratch WSCONS driver for OpenBSD. It does not have hardcoded keymaps, and it features mouse support when wsmux is available.

For this to work, it needs access to the /dev/wskbd* devices which are not available to non-root users by default. Access to those can be granted by changing /etc/fbtab to give the logging user the ownership of those devices.
Comment 1 Sam Lantinga 2021-01-14 22:32:50 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/239af7576cb3