| #
381f08b9 |
|
24-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Make sure to initialize default XKB rules earlier for Core Keyboard. |
| #
f8338865 |
|
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Make sure the keyboard device is actually enabled in DDXRingBell(). Also use consistent variable names for readability. |
| #
2eda485b |
|
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
No need to check if the device is enabled in event handler functions. These event handlers are activated by SetNotifyFd() only after DXX deviceProc() functions are called with DEVICE_ON from DIX EnableDevice() function. |
| #
7ec0c9b9 |
|
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Add and sort static function declarations in sunKbd.c. |
| #
e83940e6 |
|
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Allocate keyboard and mouse event buffers in the device private structures. Also simplify GetEvents functions. Tested on Sun 3/60 with bwtwo. |
| #
32b6075a |
|
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Also Refactor sunKbdPrivRec in sunKbd.c to make it private. Now the keyboard device is opened and sunKbdPrivRec is dynamically allocated within the DEVICE_INIT phase of sunKbdProc(). DEVICE_OFF and DEVICE_CLOSE operations are also adjusted accordingly. Tested on Sun 3/60. |
| #
177290df |
|
21-Jun-2025 |
tsutsui <tsutsui@NetBSD.org> |
Refactor Xsun input device handling to remove SIGIO based event processing. The keyboard and pointer input events are now processed directly using fd event notifications registered via DIX SetNotifyFd(), instead of the legacy SIGIO-based asynchronous I/O. This refactoring improves the maintainability and portability of the code by aligning with modern Xorg server practices. Tested on Sun 3/60 with bwtwo, Type-4 keyboard and mouse. |
| #
6b007147 |
|
15-Jul-2022 |
mrg <mrg@NetBSD.org> |
couple of changes needed for xorg-server 21.1.4. - AbortDDX() is removed, make it static to avoid code churn since it is used by internal code now - LegalModifier() is gone - if the PRESENT extension isn't included, don't enable the -fakescreenfps option since it require PRESENT. fixes builds for sun3 and x68k. |
| #
5ab83d5b |
|
15-Oct-2021 |
tsutsui <tsutsui@NetBSD.org> |
Handle restoring keyboard state via AbortDevices() rather than AbortDDX(). Tested on 3/60. Note AbortDevices() and DEVICE_ABORT in deviceProc functions were introduced after Xorg 1.14.0: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36 |
| #
2aa2a51f |
|
17-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
Fixes "FatalError re-entered, aborting" error when Xservers get SIGSEGV. Handle a new DEVICE_ABORT mode perperly in deviceProc funtions. Also don't exit via FatalError() on an unknown mode because it looks upstream assumes DDX deviceProc functions don't treat it fatal: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9f79e93b6b3416055d08a0e8f9f16d5fd0649e36 |
| #
8e6ade5b |
|
11-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
Avoid polluting console on non-fatal errors. |
| #
9c576acf |
|
11-Mar-2021 |
tsutsui <tsutsui@NetBSD.org> |
ErrorF() doesn't append newlines at the end of messages. |
| #
9679a91b |
|
13-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Avoid dumb DevicePtr casts. |
| #
0ea8fa60 |
|
01-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Trailing whitespace. |
| #
eec3c82f |
|
01-Aug-2020 |
tsutsui <tsutsui@NetBSD.org> |
Use "empty" for rmlvo model and layout to avoid lingering default settings. Now all modifier keys (CTRL, SHIFT, and NumLock) work as expected. It seems XkbApplyMappingChange() doesn't update some XKB modifier settings even if new modmap data is specified. |
| #
b6209069 |
|
30-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Initialize ModMap dynamically using keymap data per each keyboard. Now ScrollLock LED works properly. |
| #
a740dc46 |
|
29-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Remove unused functions required to handle non-XKB autorepeat. |
| #
2f5704f8 |
|
29-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Fix LED defintions to match xkb/xkbInit.c. Now CapsLock and NumLock LEDs work correctly. XXX: No ScrollLock LED |
| #
ee7c6486 |
|
22-Jul-2020 |
tsutsui <tsutsui@NetBSD.org> |
Import WIP Xorg-Server-1.20'fied monolithic Xsun servers. This is based on 1.10 version imported into xorg-server.old and all upstream API changes between xorg-server 1.10 and 1.20 are applied almost mechanically. https://github.com/tsutsui/xorg-server-Xsun/commits/xorg-server-1.20 Xsun and XsunMono servers are also confirmed working with bwtwo on 3/60 and tme, and cgtwo on tme. XKB stuff is still to be resolved. |