View Single Post
Old 01-27-2024, 03:52 PM   #32
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 242
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
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

Last edited by elinkser; 01-28-2024 at 02:26 PM.
elinkser is offline