Skip to content

Refactor RZInput: Simplify and Modularize Input System for Multi-Device Support #411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Pikachuxxxx opened this issue May 4, 2025 · 0 comments
Labels
Core Engine Core Module related

Comments

@Pikachuxxxx
Copy link
Owner

The current RZInput design uses a singleton-based virtual interface that delegates to platform-specific implementations (e.g., GLFW), which is cumbersome to maintain and extend. especially as we start supporting more complex HID devices like PS5 DualSense controllers, Xbox gamepads, or other non-standard input devices.

we can use static functinos and compile the necessary backend per platform, we don't need dynamic switching and remove the virtual interfaces, this is similar to how RZFileSystem is implemented.

@Pikachuxxxx Pikachuxxxx added the Core Engine Core Module related label May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Engine Core Module related
Projects
None yet
Development

No branches or pull requests

1 participant