Commit Graph

15 Commits

Author SHA1 Message Date
Raphael Assenat a698f8cd06 Correct accuracy of poll interval settings on 2-player adapters
The pauses recently introduced for supporting the Brawler 64 wireless
work fine in single-player mode (i.e. the poll interval setting in
the adapter manager is honored), but in two-player mode, the pauses
add up and the actual polling rate was slower than what was requested.

This corrects the issue, but unfortunately, on dual port adapters,
this means that a setting of 4ms or higher is needed to use a Brawler 64.
2021-03-04 15:47:12 +09:00
Raphael Assenat e5f6c6ee02 Add a workaround for the Brawler 64 wireless gamepad
This controller (or its receiver) needs a pause between the
"get caps" and "get status" commands. Introduce a pause
of a duration based on the poll interval.

Unfortunately poll interval that works with this controller is 2ms.
2021-02-17 22:41:13 +09:00
Raphael Assenat 412c1a42eb ifdef unused rawdata fields to save memory
Save 32 bytes.
2017-01-08 10:49:51 -05:00
Raphael Assenat 21ebef2ed3 Each channel needs its own buffer... 2016-10-23 21:44:42 -04:00
Raphael Assenat 81662cef2a Update copyright year 2016-10-10 15:01:22 -04:00
Raphael Assenat 4ecc3f571e Multi-player support complete
Works, but very light testing so far
2016-10-10 14:20:14 -04:00
Raphael Assenat fb43524d34 Update gcn64txrx code for multiple channels 2016-10-09 16:17:56 -04:00
Raphael Assenat 23f10866e9 GPLv3, Copyright updates, whitespace clean up 2015-12-06 21:55:06 -05:00
Raphael Assenat b7b07a37ee Do away with the gcn64 work buffer (saves more memory!) 2015-10-28 23:30:26 -04:00
Raphael Assenat 1a44a190cb Memory efficient reception code (one bit per bit!) 2015-10-28 23:03:16 -04:00
Raphael Assenat 831487efe2 Share common N64 and GC buffers 2015-10-28 00:16:02 -04:00
Raphael Assenat a07c8cbd70 Use new gampad data and usbpad 2015-08-20 23:39:54 -04:00
Raphael Assenat bc55a51cf7 Cleanup report descriptor a bit.
- No longer an extra button 0 in linux
2015-08-18 23:24:23 -04:00
Raphael Assenat d4a16f9ddb Use 0-30000 range for input reports 2015-08-18 21:09:53 -04:00
Raphael Assenat c59242383f WIP 2015-06-13 23:44:21 -04:00