Fri, 12 Jul 2019 13:40:58 -0400cmake: Add setupapi library to Windows build dependencies (hidapi needs it).
Ryan C. Gordon <icculus@icculus.org> [Fri, 12 Jul 2019 13:40:58 -0400] rev 12938
cmake: Add setupapi library to Windows build dependencies (hidapi needs it).

Fixes Bugzilla #4719.

Thu, 11 Jul 2019 01:07:14 -0400cocoa: Set keyboard mod state correctly when turning off capslock.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2019 01:07:14 -0400] rev 12937
cocoa: Set keyboard mod state correctly when turning off capslock.

Fixes Bugzilla #4716.

Wed, 10 Jul 2019 10:06:28 +0200x11: prevent a synthetic mouse event when using a touchscreen
Sylvain Becker <sylvain.becker@gmail.com> [Wed, 10 Jul 2019 10:06:28 +0200] rev 12936
x11: prevent a synthetic mouse event when using a touchscreen

With multitouch, register to receive XI_Motion (which desctivates MotionNotify),
so that we can distinguish real mouse motions from synthetic one.

(bug 4690)

Tue, 09 Jul 2019 17:28:02 -0400x11: set some modality things on message boxes with parent windows.
Ryan C. Gordon <icculus@icculus.org> [Tue, 09 Jul 2019 17:28:02 -0400] rev 12935
x11: set some modality things on message boxes with parent windows.

Tue, 09 Jul 2019 11:46:42 +0200SDL_Mouse/Touch: discard synthetic events when hints are not set.
Sylvain Becker <sylvain.becker@gmail.com> [Tue, 09 Jul 2019 11:46:42 +0200] rev 12934
SDL_Mouse/Touch: discard synthetic events when hints are not set.
Those are generated/flagged by platform layer.

Tue, 09 Jul 2019 08:55:00 +0300fix permissions
Ozkan Sezer <sezeroz@gmail.com> [Tue, 09 Jul 2019 08:55:00 +0300] rev 12933
fix permissions

Mon, 08 Jul 2019 16:46:52 -0400cmake: Added HIDAPI support.
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jul 2019 16:46:52 -0400] rev 12932
cmake: Added HIDAPI support.

Mon, 08 Jul 2019 16:08:16 -0400configure: Windows and macOS now respect --enable-hidapi.
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jul 2019 16:08:16 -0400] rev 12931
configure: Windows and macOS now respect --enable-hidapi.

(and it defaults to "yes" on those platforms. Other places, which use libusb,
still default to no because they probably need root permissions to work.)

Sun, 07 Jul 2019 11:23:16 -0700Ignore synthetic mouse events generated for touchscreens
Cameron Gutman <aicommander@gmail.com> [Sun, 07 Jul 2019 11:23:16 -0700] rev 12930
Ignore synthetic mouse events generated for touchscreens

Windows generates fake raw mouse events for touchscreens for compatibility
with legacy apps that predate touch support in Windows. We already handle
touch events explicitly, so drop the synthetic events to avoid duplicates.

Mon, 08 Jul 2019 13:41:01 -0400cocoa: Another attempt at mouse vs touch support.
Ryan C. Gordon <icculus@icculus.org> [Mon, 08 Jul 2019 13:41:01 -0400] rev 12929
cocoa: Another attempt at mouse vs touch support.

This time, we make anything we think is a MacBook trackpad report its touches
as SDL_MOUSE_TOUCHID, even though they're not _actually_ synthesized events,
and let all mouse input--even if the OS synthesized it from a multitouch
trackpad on our behalf--look like physical input. This is backwards from
reality, but produces the results most apps will expect.

Note that if you have a real touch device that doesn't appear to be the
trackpad, it'll produce real touch events with unique device ids, so it's
not a total loss here, but also note that the way we decide if it was the
trackpad is an imperfect heuristic; it happens to work out right now, but
it's not impossible that a real touchscreen could come to the Mac at some
point and (incorrectly?) call it a "mouse" input, etc.

But for now, good enough.

Fixes Bugzilla #4690.