Chris Heyes
Chris Heyes
Design an audio capture interface and implement back-ends for Linux and Windows
Blocked by #9 Currently we support vsync only. See https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/variable-refresh-rate-displays
The motivation is to support quick, zero-install distribution for game jams. Perhaps code and assets can be bundled into a single html file for super easy sharing. Consider what's required...
- Add `gained_focus` and `lost_focus` to `WindowEvent.action` in [common.zig](https://github.com/hazeycode/brucelib/blob/main/modules/platform/src/common.zig) - win32: Handle `WM_SETFOCUS` and `WM_KILLFOCUS` messages in `wnd_proc`, emit `WindowEvent`s with `gained_focus` and `kill_focus` respectively - linux: Do whatever the...
Currently multisampling is hardcoded to 4x on both the linux/glx and win32/dxgi backends. This should be user configurable like other config parameters passed to `platform.run`, i.e. `target_multisample`. 4 seems like...
Add gamepad input to linux backend. Raw device data will have to mapped to joysticks (using the SDL mapping database) and those that map to the canonical Xbox 360 layout...
Add a procedure to `DebugGui` that renders a canonical Xbox 360 controller layout and shows the users current input for debugging purposes. See [`platform.GamepadState`](https://github.com/hazeycode/brucelib/blob/main/modules/platform/src/common.zig) for an example of the gamepad...
- add scroll wheel data to `MouseEvent` - emit scroll wheel events from win32 backend - emit scroll wheel events from linux backend
See TODO comments in graphics/src/d3d11.zig and https://docs.microsoft.com/en-us/windows/win32/api/d3d11_3/nn-d3d11_3-id3d11fence