Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1562

Emulating Nickel + touch input

$
0
0
Hi,
I've been working hard these last few days to try to get the Kobo firmware working in a QEMU-system-arm virtual machine (i.e. emulating a Kobo in a x86 PC)

I've successfully (and surprisingly) been able to build a cross-compiled Linux kernel, boot the stock filesystem and firmware of a Glo HD (with a disk image formatted in 3 partitions (rootfs, recoveryfs and onboard), and I gasped when I saw the Nickel setup welcome screen with language selection on a QEMU window. This was quite unexpected and of course it has cleared off many of my concerns in emulating/faking/redirecting a framebuffer to output via VNC or something like that.
I've also successfully got to a BusyBox shell where I can type commands and stuff.

But now that I've got into Nickel, I can't use it at all. Why? Touch input. (of course)
Sure it was not going to be easy... Do someone know how to simulate/emulate touch events that Nickel can understand?

I joined two screenshots of my QEMU window, if that can help you. One shows it in a console output mode, when it uses all the 1024x768 res. and the other shows Nickel covering about half of the screen.

Any help would be much appreciated.
Thanks!

Attached Thumbnails
Click image for larger version

Name:	console.png
Views:	N/A
Size:	42.6 KB
ID:	184731   Click image for larger version

Name:	nickel.png
Views:	N/A
Size:	26.5 KB
ID:	184732  

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>