mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Input: Implement anti deadzone
This commit is contained in:
parent
5b6f340a7b
commit
c15121377f
16 changed files with 261 additions and 164 deletions
|
|
@ -317,6 +317,8 @@ void dualsense_pad_handler::init_config(cfg_pad* cfg)
|
|||
cfg->pressure_intensity_button.def = ::at32(button_list, DualSenseKeyCodes::None);
|
||||
|
||||
// Set default misc variables
|
||||
cfg->lstick_anti_deadzone.def = static_cast<u32>(0.13 * thumb_max); // 13%
|
||||
cfg->rstick_anti_deadzone.def = static_cast<u32>(0.13 * thumb_max); // 13%
|
||||
cfg->lstickdeadzone.def = 40; // between 0 and 255
|
||||
cfg->rstickdeadzone.def = 40; // between 0 and 255
|
||||
cfg->ltriggerthreshold.def = 0; // between 0 and 255
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue