Skip to content
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

Support drag n' drop loading of ROMs for web #258

Open
lukexor opened this issue May 29, 2024 · 0 comments
Open

Support drag n' drop loading of ROMs for web #258

lukexor opened this issue May 29, 2024 · 0 comments
Labels
enhancement New feature or request tetanes web Web platform related

Comments

@lukexor
Copy link
Owner

lukexor commented May 29, 2024

Drag n' drop is already supported on desktop platforms, because winit provides an event for it. Web supports this event but isn't integrated into winit yet, primarily because in web the dropped file isn't a PathBuf, so requires a manual event handler implementation.

Ref: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop

@lukexor lukexor added enhancement New feature or request web Web platform related labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tetanes web Web platform related
Projects
None yet
Development

No branches or pull requests

1 participant