mirror of
https://github.com/RPCS3/rpcs3
synced 2024-09-05 16:05:25 +00:00
input: remove unused parameter
This commit is contained in:
parent
ab15584eed
commit
0e32f19de8
|
@ -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_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;
|
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());
|
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++)
|
for (int i = 0; i < 7; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue