mirror of
https://github.com/RPCS3/rpcs3
synced 2024-11-02 11:45:30 +00:00
input: remove unused parameter
This commit is contained in:
parent
ab15584eed
commit
0e32f19de8
2 changed files with 2 additions and 2 deletions
|
@ -280,7 +280,7 @@ void usb_device_guncon3::interrupt_transfer(u32 buf_size, u8* buf, u32 endpoint,
|
|||
gc.gun_x = (mouse_data.x_pos * USHRT_MAX / mouse_data.x_max) - SHRT_MAX;
|
||||
gc.gun_y = (mouse_data.y_pos * -USHRT_MAX / mouse_data.y_max) + SHRT_MAX;
|
||||
|
||||
cfg->handle_input(mouse_data, true, input_callback);
|
||||
cfg->handle_input(mouse_data, input_callback);
|
||||
}
|
||||
|
||||
guncon3_encode(&gc, buf, m_key.data());
|
||||
|
|
|
@ -107,7 +107,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void handle_input(const Mouse& mouse, bool press_only, const std::function<void(T, u16, bool)>& func) const
|
||||
void handle_input(const Mouse& mouse, const std::function<void(T, u16, bool)>& func) const
|
||||
{
|
||||
for (int i = 0; i < 7; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue