OK, let's try running the command like this(RMKIT_KOBO_ANY is a runtime variable):
# RMKIT_KOBO_ANY=1 sh /opt/bin/remux.sh
I attached another version to try, where the default touch is like the Clara.
(As in Post #1 - not the default source code.)
i.e.:
$ nano -l src/rmkit/util/machine_id.cpy
Code:
68 switch KOBO_CUR_VERSION:
69 // case util::KOBO_DEVICE_ID_E::DEVICE_KOBO_CLARA_HD:
70 // debug "RUNNING ON CLARA HD"
71 // break
$ nano -l src/rmkit/input/events.cpy
Code:
179 version := util::get_kobo_version()
180 rotation := util::rotation::get()
181 rotation %= 4
182 invert_x = true
183 swap_xy = false
184 switch version:
185 case util::KOBO_DEVICE_ID_E::DEVICE_KOBO_CLARA_HD:
186 rotation++
187 rotation %= 4
188 invert_x = true
189 swap_xy = true
190 break