mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
input: rename some variables
This commit is contained in:
parent
9ecd1e37fa
commit
2eb0d19a75
3 changed files with 16 additions and 16 deletions
|
@ -548,7 +548,7 @@ void PadHandlerBase::get_mapping(const std::shared_ptr<PadDevice>& device, const
|
|||
if (!device || !pad)
|
||||
return;
|
||||
|
||||
auto profile = device->config;
|
||||
auto cfg = device->config;
|
||||
|
||||
auto button_values = get_button_values(device);
|
||||
|
||||
|
@ -584,8 +584,8 @@ void PadHandlerBase::get_mapping(const std::shared_ptr<PadDevice>& device, const
|
|||
u16 lx, ly, rx, ry;
|
||||
|
||||
// Normalize and apply pad squircling
|
||||
convert_stick_values(lx, ly, stick_val[0], stick_val[1], profile->lstickdeadzone, profile->lpadsquircling);
|
||||
convert_stick_values(rx, ry, stick_val[2], stick_val[3], profile->rstickdeadzone, profile->rpadsquircling);
|
||||
convert_stick_values(lx, ly, stick_val[0], stick_val[1], cfg->lstickdeadzone, cfg->lpadsquircling);
|
||||
convert_stick_values(rx, ry, stick_val[2], stick_val[3], cfg->rstickdeadzone, cfg->rpadsquircling);
|
||||
|
||||
if (m_type == pad_handler::ds4)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue