The actual (god-awfully statically linked) ntx version is shipped on Kobo FWs, so, that helps.
Some of it is exposed in the Kobo kernel sources too, although you might have to dig into much older kernels for some context.
I jotted down a few things relevant to my interests
over here after looking into it on Kobo once @pazos did the actual work for BQ devices

.