Implemented basic DS4 dongle support.
The dongle acts like a USB connection aside from the addition of a single bit in the report. This bit is high when no controller is attached and 0 for all standard controller connections making logic checking this bit backwards compatible with non-dongle connections.
Note that when the dongle has no controller attached it will return the same report on repeat. This report, with no delta time between identical motions, will cause JSM's logic to divide-by-zero if passed along. For this reason all reports from a dongle in the disconnected state are considered invalid in this pull.
Implemented basic DS4 dongle support. The dongle acts like a USB connection aside from the addition of a single bit in the report. This bit is high when no controller is attached and 0 for all standard controller connections making logic checking this bit backwards compatible with non-dongle connections. Note that when the dongle has no controller attached it will return the same report on repeat. This report, with no delta time between identical motions, will cause JSM's logic to divide-by-zero if passed along. For this reason all reports from a dongle in the disconnected state are considered invalid in this pull.