Port the OsJoystick API, device enumeration, polling with dead zones,
hat emulation and joystick mouse mode. OsJoystickPoll becomes Mac's
OsPollJoysticks. Clamp (0x5C59F0) goes to _Triage. Os links dinput8
and dxguid.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
OsInputGet event pump, OsQueueGet, input init/destroy, mouse speed/mode/
position, key and mouse-button state, OsGetDefaultWindowRect,
OsGuiSetWindowTitle/SetGxWindow/MessageBox. Name the 0x313/0x403 messages
in OsWindowProc.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
OsWindowProc 0x86A210 with its helpers (queue, key/button conversion,
capture, self-drawn caption drag/resize, code-page tables), OsGuiGetWindow
and OsGuiIsModifierKeyDown. GxWindowProc is cdecl, not stdcall.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>