Commit graph

705 commits

Author SHA1 Message Date
capitalistspz
a648fc7a08 Prevent connection attempts on still-connected controllers 2024-12-03 16:38:17 +00:00
capitalistspz
08b0bfba8b screaming case constexpr 2024-12-03 16:38:17 +00:00
capitalistspz
cff8d908cf Make cancellable between name reads, disable cancel button during inquiry. 2024-12-03 16:38:17 +00:00
capitalistspz
5184e632e2 Search for up to 4 devices at a time 2024-12-03 16:38:17 +00:00
capitalistspz
9046dca558 Show bluetooth address in correct order.
(It would be nice if `std::ranges::reverse_view` worked properly with clang 15)
2024-12-03 16:38:17 +00:00
capitalistspz
0340e5e7cb Free BT resources acquired during pairing 2024-12-03 16:38:17 +00:00
capitalistspz
f43f88f728 Prevent storing duplicate addresses 2024-12-03 16:38:17 +00:00
capitalistspz
8ba4b051a1 Stop replacing non-duplicate controllers 2024-12-03 16:38:17 +00:00
capitalistspz
e14c54b846 Fix a crash from writing to a disconnected device 2024-12-03 16:38:17 +00:00
capitalistspz
55e240339c Install libbluetooth-dev for AppImage too 2024-12-03 16:38:17 +00:00
capitalistspz
7f58a2047b Add bluez libs to dependency list 2024-12-03 16:38:17 +00:00
capitalistspz
182e90500f Make Bluez optional 2024-12-03 16:38:17 +00:00
capitalistspz
cc2212a441 Stop using std::jthread, because Mac doesn't support it 2024-12-03 16:38:17 +00:00
capitalistspz
11656c3452 WiimoteControllerProvider: Move device getting to another thread 2024-12-03 16:38:17 +00:00
capitalistspz
667bf968f9 Use bdaddr to compare L2CapWiimotes 2024-12-03 16:38:17 +00:00
capitalistspz
3c7768cd9d Fix Windows build error 2024-12-03 16:38:17 +00:00
capitalistspz
447d760482 WiimoteDevice: Make equality actually constant 2024-12-03 16:38:17 +00:00
capitalistspz
e6e437be17 Fix periodic hitching when controller paired and connected 2024-12-03 16:38:17 +00:00
capitalistspz
00ff45d66b PairingDialog: Implement 'pairing' for bluez, reformat file 2024-12-03 16:38:17 +00:00
capitalistspz
0d4176aab0 Correct return value on L2CapWiimote::write_data 2024-12-03 16:38:17 +00:00
capitalistspz
b71ace17d3 Link bluez 2024-12-03 16:38:17 +00:00
capitalistspz
e5d1d0e649 Allow WiimoteControllerProvider to receive L2CapWiimotes 2024-12-03 16:38:17 +00:00
capitalistspz
32cb2bf3b5 Create L2CapWiimote instances as shared_ptr 2024-12-03 16:38:17 +00:00
capitalistspz
444a8decb1 Remove unnecessary != overload 2024-12-03 16:38:17 +00:00
capitalistspz
91679d5ba6 Add L2CapWiimote 2024-12-03 16:38:17 +00:00
neebyA
eca7374567
Set version for macOS bundle (#1431) 2024-12-02 05:19:15 +01:00
Jeremy Kescher
80a6057512
build: Fix linker failure with glslang 15.0.0 (#1436) 2024-12-02 01:01:22 +01:00
capitalistspz
0735237686
Input: Move pairing dialog button and source (#1424) 2024-11-30 23:05:50 +01:00
capitalistspz
90eb2e01f4
nsyshid/dimensions: add missing return (#1425) 2024-11-22 13:43:12 +01:00
Exzap
409f12b13a coreinit: Fix calculation of thread total awake time 2024-11-21 20:34:24 +01:00
Exzap
7b513f1744 Latte: Add workaround for infinite loop in Fatal Frame shaders 2024-11-21 20:34:24 +01:00
Exzap
c3e29fb619 Latte: Add support for shader instructions MIN_UINT and MAX_UINT
Seen in the eShop version of Fatal Frame
Also made some warnings less spammy since this game seems to trigger it a lot
2024-11-21 20:34:24 +01:00
Exzap
2065ac5f63 GfxPack: Better logging messages for diagnosing problems in rules.txt 2024-11-21 20:34:24 +01:00
goeiecool9999
269d5b9aab
Vulkan: Make scaling shaders compatible + fixes (#1392) 2024-11-16 10:02:43 +01:00
Exzap
6f9f3d52ea CI: Remove outdated workflow 2024-11-13 06:38:17 +01:00
Exzap
719c631f13 config: Fix receive_untested_updates using the wrong default 2024-11-13 06:29:24 +01:00
Exzap
66658351c1 erreula: Rework implementation and fix bugs
- ErrEula doesn't disappear on its own anymore. The expected behavior is for the game to call Disappear once a button has been selected. This fixes issues where the dialog would softlock in some games
- Modernized code a bit
- Added a subtle fade in/out effect
2024-11-13 06:29:24 +01:00
Exzap
a5717e1b11 FST: Refactoring to fix a read bug + verify all reads
- Fixes a bug where corrupted data would be returned when reading files from unhashed sections with non-block aligned offset or size
- Added hash checks for all reads where possible. This means that FST now can automatically catch corruptions when they are encountered while reading from the volume
2024-11-13 06:29:23 +01:00
Joshua de Reeper
ca2e0a7c31
nsyshid: Add support for emulated Dimensions Toypad (#1371) 2024-11-11 08:58:01 +01:00
capitalistspz
2e829479d9
nsyshid/libusb: correct error message formatting and print error string on open fail (#1407) 2024-11-09 06:22:13 +01:00
capitalistspz
4ac1ab162a
procui: swap tickDelay and priority args in callbacks (#1408) 2024-11-09 06:21:06 +01:00
SamoZ256
813f9148b1
macOS: Fix absolute path to libusb dylib (#1405) 2024-11-07 07:09:35 +01:00
SamoZ256
9941e00b54
macOS: Fix libusb path for bundle (#1403) 2024-11-05 22:22:00 +01:00
Exzap
1c49a8a1ba nn_nfp: Implement GetNfpReadOnlyInfo and fix deactivate event
Fixes Amiibos not being detected in MK8
2024-11-01 22:47:19 +01:00
capitalistspz
47001ad233
Make MEMPTR<T> a little more T*-like (#1385) 2024-10-30 23:10:32 +01:00
goeiecool9999
459fd5d9bb
input: Fix crash when closing add controller dialog before search completes (#1386) 2024-10-28 09:37:30 +01:00
capitalistspz
63e1289bb5
Windows: Save icons to Cemu user data directory (#1390) 2024-10-25 18:48:21 +02:00
goeiecool9999
f9a4b2dbb1
input: Add option to make show screen button a toggle (#1383) 2024-10-19 01:56:56 +02:00
goeiecool9999
d6575455ee Linux: Fix crash on invalid command-line arguments
use std::cout instead of wxMessageBox which does not work when wxWidgets has not been initialised yet
2024-10-17 22:24:20 +02:00
goeiecool9999
3acd0c4f2c
Vulkan: Protect against uniform var ringbuffer overflow (#1378) 2024-10-14 14:03:36 +02:00