On Thursday, 1 December 2022 at 15:35:37 UTC, Steven Schveighoffer wrote:
On 12/1/22 3:24 AM, bauss wrote:


But probably not on every frame, have a delay between checks.

It's not anything controllable by the user. The library does the check every frame regardless of whether you use it or not.

When you call the raylib function, you are not actually querying the device, you are checking a boolean in a struct.

https://github.com/raysan5/raylib/blob/387c06000618ef0aa3b15c5e46d1c525ba194c50/src/rcore.c#L3567

-Steve

Oh yeah then it's fine :)

Reply via email to