Ryan C. Gordon
Ryan C. Gordon
> It was originally written for the chailove core. Before we go any further: is this code able to be contributed under a zlib license? ChaiLove uses the MIT license.
> In both Playdate, and libretro now (AND android...this is a big mess, and I'll probably change this in PhysicsFS 4 to not take a const char *, but this...
YOLO
I might make changes later, but it's silly that this has been in an unmerged PR for this long.
This is the same problem as #13050 (SDL_GlobDirectory uses SDL_EnumerateDirectory and SDL_GetPathInfo under the hood).
I think there was some weird limitation, like Wayland only reports pens on connect/disconnect and not on tradition proximity, but I could be totally wrong. I'll check tonight when I'm...
Okay, I looked back over the subsystem, and we're not going to add new events. Several serious platforms don't report devices coming and going. Some _only_ report proximity events when...
Working on this; looks like X11, Wayland, and (maybe?) Cocoa can handle proximity separate from tool add/remove, at least in some cases. I've cleaned up @deiflou's patch and am trying...
> and (maybe?) Cocoa Cocoa won't tell you when a device is added or removed, but device IDs are stable between proximity events. So we can just add a pen...
Actually, this might be true of everything. Hmm.