08-10-2020, 11:03 AM
(08-05-2020, 10:57 AM)wibble Wrote: I was thinking more in terms of how it maps touch inputs to keyboard input for Wayland. Without knowing more about what you're aiming to do, it's hard to know whether you'd be looking at accessing the kernel driver interface directly (under /dev/input/ I expect) or providing an alternate input method at the X or Wayland level to use existing desktops with their respective accessibility features. Each has a different way of doing things.
Actually, I'm not really sure how my code should link in to the rest of the system and the other apps. The other BSI implementations I know about run on Android, Fire OS, and iOS. None of these are going to be the same as a "normal" Linux system, so I can't just copy their approaches.
It appears that Squeekboard uses D-Bus, which seems like a promising approach. Also, it might be possible to leverage Squeekboard in some manner (e.g., pretending to be an add-on hardware keyboard). Does D-Bus seem like a reasonable starting point?