a/bindings: Don't add dpad paths to all paths in script

They can not be distinguished from core paths there, but they need to be
gated by EXT_dpad_binding
This commit is contained in:
Christoph Haag 2024-03-22 12:10:48 +01:00
parent 7100faf868
commit 60b6fb8eed

View file

@ -187,8 +187,6 @@ class Component:
if self.component_name == "position":
paths.append(basepath + "/" + "x")
paths.append(basepath + "/" + "y")
if self.has_dpad_emulation():
paths += dpad_paths(basepath, self.dpad_emulation["center"])
paths.append(basepath)
else:
paths.append(basepath + "/" + self.component_name)