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

Feature request: Better fetching of events #24

Closed
VarLad opened this issue Mar 6, 2024 · 3 comments · Fixed by #25 or #27
Closed

Feature request: Better fetching of events #24

VarLad opened this issue Mar 6, 2024 · 3 comments · Fixed by #25 or #27
Labels
enhancement New feature or request

Comments

@VarLad
Copy link
Member

VarLad commented Mar 6, 2024

We need a defined way to fetch the events (like mouse click, keypress etc) from the event loop.
I tried fetching the mouse state using:

		while !WindowShouldClose(scene.canvas.windowRef[])
			runApp(renderer)
			@info WGPUgfx.mouseState.leftClick
			WaitEvents()
		end

in the uiCircleExample.jl file.

But I'm not sure if using an unexported global variable (mouseState) is the best way to go about this.
I believe this needs some discussion.

@arhik
Copy link
Member

arhik commented Mar 7, 2024

Ideas are always welcome. You can discussion tab.

@arhik
Copy link
Member

arhik commented Mar 8, 2024

Since you are a member. You can use https://github.com/orgs/JuliaWGPU/projects/1. This is a feature set tracking project page.

@arhik arhik added the enhancement New feature or request label Mar 11, 2024
This was linked to pull requests Mar 11, 2024
@arhik arhik closed this as completed May 4, 2024
@arhik
Copy link
Member

arhik commented May 4, 2024

@VarLad Is this done ? Or you have more ideas ? I am closing it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
2 participants