sculpt/event_filter: rename touch -> touchpad

This eases the integration of a custom touchpad driver component
provided as launcher.

Issue #5174
This commit is contained in:
Norman Feske 2024-04-23 18:25:38 +02:00 committed by Christian Helmuth
parent 50fc5c6d42
commit 1379661a85

View File

@ -2414,11 +2414,8 @@ void Sculpt::Main::_generate_event_filter_config(Xml_generator &xml)
}); });
}); });
xml.node("touch-click", [&] {
gen_input("touch"); });
gen_input("usb"); gen_input("usb");
gen_input("touch"); gen_input("touchpad");
gen_input("sdl"); gen_input("sdl");
}); });
}); });
@ -2459,10 +2456,10 @@ void Sculpt::Main::_generate_event_filter_config(Xml_generator &xml)
xml.attribute("label", label); xml.attribute("label", label);
xml.attribute("input", input); }); }; xml.attribute("input", input); }); };
gen_policy("runtime -> ps2", "ps2"); gen_policy("runtime -> ps2", "ps2");
gen_policy("runtime -> usb_hid", "usb"); gen_policy("runtime -> usb_hid", "usb");
gen_policy("drivers -> touch", "touch"); gen_policy("runtime -> touchpad", "touchpad");
gen_policy("drivers -> sdl", "sdl"); gen_policy("drivers -> sdl", "sdl");
} }