german
3fa9068948
Only use inputs corresponding to controller type
5 years ago
german
450a3c0f42
Stubbed EnableSixAxisSensorFusion
5 years ago
Morph
ba883c8c84
caps_c: Stub SetShimLibraryVersion
- Used by caps_su SetShimLibraryVersion
5 years ago
Morph
e1d561f647
caps_u: Stub SetShimLibraryVersion
- Used in Super Smash Bros. Ultimate
5 years ago
Morph
a03d4d663c
caps_su: Properly stub SetShimLibraryVersion
5 years ago
Morph
f3e928bb6a
hid: Stub HomeButtonInputProtection service commands
- Used in 1-2 Switch. Given that we do not emulate the functionality of the home button yet, we can stub this for now.
5 years ago
german
782aab6cf2
First implementation of controller rumble
6 years ago
Lioncash
9861290969
frontend/controller: Eliminate dependency on the global system instance
5 years ago
Lioncash
711c5c7bdf
service: Restore "unused" function
Turns out this function is actually used, but within a trace log.
5 years ago
german
c3fb504201
Use different timing for motion
5 years ago
Lioncash
e457001dce
General: Make use of std::nullopt where applicable
Allows some implementations to avoid completely zeroing out the internal
buffer of the optional, and instead only set the validity byte within
the structure.
This also makes it consistent how we return empty optionals.
5 years ago
Morph
152b529a00
acc: Stub LoadOpenContext
This is used in multiple games such as:
- Clubhouse Games: 51 Worldwide Classics
- Grandia HD Collection
- XCOM 2 Collection
- Baldur's Gate 1/2
- Dr Kawashima's Brain Training
- Super Mario 3D All-Stars
5 years ago
Morph
505ce79b9d
hid: Implement Get/SetNpadHandheldActivationMode
- Used in Clubhouse Games: 51 Worldwide Classics
5 years ago
Morph
5435e0ee39
am: Stub GetPreviousProgramIndex
- Used in Super Mario 3D All-Stars
5 years ago
Lioncash
45a608088c
nfp: Eliminate two unnecessary copies
GetAmiiboBuffer() returns by const reference, so we can use a reference
instead of taking the returned buffer by value.
5 years ago
Lioncash
341c612474
service: Remove unused funcation
This is now completely unused, so it can be removed.
5 years ago
Lioncash
e4747039da
service/sm: Slightly more efficient string name validation
We can check the end of the string first for null-termination, rather
than the beginning of the string.
5 years ago
Lioncash
95e8dff0d7
service/sm: Eliminate dependency on the global system instance
5 years ago
Lioncash
e45b727db5
file_sys/bis_factory: Eliminate usage of the global system accessor
5 years ago
Lioncash
f700c48cc0
kernel: Remove all dependencies on the global system instance
With this, the kernel finally doesn't depend directly on the global
system instance anymore.
5 years ago
FearlessTobi
b3d2fd39d3
Test: Decrease pad_update_ns
There have been reports of quite heavy input lag in the past.
Compared to Citra for example, our pad_update_ns value is very high.
So let's decrease it and see if it helps with this problem.
5 years ago
Lioncash
054735e3fe
service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
5 years ago
Lioncash
b1c64e8c4f
bsd: Resolve unused value within SendToImpl
Previously the address provided to SendToImpl would never be propagated
to SendTo(). This fixes that.
5 years ago
Lioncash
0bf0d9d3c3
bsd: Resolve sign comparison warnings
5 years ago
Lioncash
3467cfb357
sockets_translate: Make use of designated initializers
Same behavior, less typing.
5 years ago
Lioncash
2c196e7c6e
blocking_worker: Make use of templated lambda
We can simplify this a little by explicitly specifying the typename for
the lambda function.
5 years ago
Lioncash
0d180e23f0
blocking_worker: Resolve -Wdocumentation warning
5 years ago
Morph
55db7a4e0a
configure_input: Hook up the motion button and checkbox
This allows toggling motion on or off, and allows access to the motion configuration.
Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
5 years ago
german
82eb4be33b
Add cemu hook changes related to PR #4609
5 years ago
german
17b48f8d42
Remove RealMotionDevice
5 years ago
Morph
a04a7174c7
controllers/npad: Simplify motion entry assignment
Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon.
5 years ago
german
876e6fc255
Include HID and configuration changes related to motion
5 years ago
Morph
ce1c6f2eea
hid: Implement MergeSingleJoyasDualJoy
- Used in multiple games such as Super Mario Odyssey.
5 years ago
Morph
5c853d4dc7
Address feedback
5 years ago
Morph
b9cde4fa6d
applets/controller: Set min_players to have a minimum value of 1.
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
5 years ago
Morph
3742ae763c
applets/controller: Implement fallback applet for the SDL frontend
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
5 years ago
Morph
00df69232a
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
5 years ago
Morph
4c621b9b09
Project Mjölnir: Part 2 - Controller Applet
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
FearlessTobi
2903f0f7ce
yuzu: Add motion and touch configuration
6 years ago
Morph
9b0f5da0c6
controllers/npad: Fix inconsistencies with controller connection statuses
5 years ago
Morph
4d6a8f3e8f
controllers/npad: Fix LibNX controller connection statuses
This allows homebrew applications to be able to properly detect connected controllers.
5 years ago
Morph
9fc2eb2ee0
controllers/npad: Fix LedPattern for P1-4
5 years ago
Morph
34a209d15c
Project Mjölnir: Part 1
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
ReinUsesLisp
8f050dd1d9
hle/scheduler: Fix data race in is_context_switch_pending
As reported by tsan, SelectThreads could write to
is_context_switch_pending holding a mutex while SwitchToCurrent reads it
without holding any.
It is assumed that the author didn't want an atomic here, so the code is
reordered so that whenever is_context_switch_pending is read inside
SwitchToContext, the mutex is locked.
5 years ago
ReinUsesLisp
6bf10ea8cf
hle/kernel: Fix data race in GetCurrentHostThreadID
As reported by tsan, host_thread_ids could be read while
any of the RegisterHostThread variants were called.
To fix this, lock the register mutex when yuzu is running in multicore
mode and GetCurrentHostThreadID is called.
5 years ago
Lioncash
6eeeebeb9d
fsp_srv: Resolve -Wunused-but-set-variable warning
We can just log out the parameters in the meantime.
5 years ago
Lioncash
da15e9f8a7
file_sys: Replace inclusions with forward declarations where applicable
Same behavior, minus unnecessary inclusions where not necessary.
5 years ago
Lioncash
c26b29c2c6
fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
Initialize id to a deterministic value and also mark the unreachable
cases in the switch with UNREACHABLE().
5 years ago
Lioncash
a87209e09d
common/fileutil: Convert namespace to Common::FS
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
6 years ago
Lioncash
b86bba9f7e
time_zone_content_manager: Collapse auto and default case
Prevents a useless self-assignment from occurring.
6 years ago