@neauoire @khm Think of it as a module in the first place. The OS kernel can load it and run it. Plan 9 tries to keep the interface rather simple. See here for the USB driver framework as if now in Harvey:
@neauoire @khm To be honest, I have about no clue, just heard it's hard. Even with emulation, tests can be misleading; the emulation may still behave a bit different. I would suggest a lot of trial/error first, and regarding testing strategies, hopefully the Linux Foundation's efforts with KernelCI will help in the future.
A suggestion seen often is to look at BSD drivers and port them to Plan 9, possibly NetBSD+OpenBSD specifically. Some FreeBSD drivers stem from there.
@CyReVolt @khm I'm sure it's not that hard, the raw data coming out of the USB device is fairly strightforward, instead of sending out position offset, it seems to give me a ratio of the tablet width. I'd be surprised if I couldn't do this in 10 lines or less, I just don't know if it's correct to hack at the plan9 core with my if elses ^^;
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!