mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 11:05:46 +00:00
input_common: Split mouse input into individual devices
This commit is contained in:
parent
6932c0ed2a
commit
8a7dfb2439
10 changed files with 114 additions and 31 deletions
|
@ -23,7 +23,8 @@ void EmulatedConsole::SetTouchParams() {
|
|||
|
||||
// We can't use mouse as touch if native mouse is enabled
|
||||
if (!Settings::values.mouse_enabled) {
|
||||
touch_params[index++] = Common::ParamPackage{"engine:mouse,axis_x:10,axis_y:11,button:0"};
|
||||
touch_params[index++] =
|
||||
Common::ParamPackage{"engine:mouse,axis_x:0,axis_y:1,button:0,port:2"};
|
||||
}
|
||||
|
||||
touch_params[index++] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue