Event Filter Config To Rotate Touchscreen Input

Oh, I guess you were faster than me. I had thought of using a sensor placeholder for the rotation of the device as an input component for the touchscreen (both for input and output).
I wanted to try your new image earlier today evening, but my touch input did not work on the new image. In the old image it worked but there is the new functionality, which should be tried, not yet included. I can provide you my config and report files if you want.

@nos Sorry, I ignored that you need the updated usb_hid driver. Please try today’s image (sculpt-pc-2026-03-23-hw).

1 Like

Long story short: You only need to adapt (or remove) the scaling factors in /config/keyboard/touch_transform.config and put something like this in your /config/event_filter at the right place:

<transform>
  <input name="usb"/>
  <include rom="keyboard/touch.transform"/>
</transform>

Thank you for providing a new image containing the updated driver. Now it works!
Remark: Its really important to change the scaling in touch_transform.config and not the generated touch.transform file. :wink: By the way: what is the relationship of the keyboard directory?

1 Like

The event-filter component has no generic access (i.e. routing rule) to the /config directory. Instead, ROM requests prefixed with keyboard/ are routed to /config/keyboard. In other words, the include directive is only possible for files in /config/keyboard on an unmodified Sculpt 25.10.

This is a really nice enhancement! It makes the screen rotation a seamless experience. Thanks for doing this!

The new “include” feature is also a great addition. On a related note, I really need to dig deeper into the syntax / capabilities of the config file format - apparently it is more powerful and flexible than I realized! Interesting…