You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/20 15:00:57 UTC

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1851: input: Q10 BlackBerry Keyboard from Solder Party

patacongo edited a comment on pull request #1851:
URL: https://github.com/apache/incubator-nuttx/pull/1851#issuecomment-695789513


   > 
   > 
   > @patacongo I was digging into the nxterm code, to see if I could easily use it for testing, but I did not see a way to point it at a keyboard device directly. Is it expected that I create a thread that polls on /dev/kbda and then calls `NXTERMIOC_NXTERM_KBDIN` via `BOARDIOC_NXTERM_IOCTL`?
   
   Yes, that is how it currently works.  Some of that logic is very old; some aspects of the design might benefit from some re-design.
   
   Note that that thread could like in your featherwing driver logic.  There is a function in nxterm_driver.c called nxterm_ioctl_tap() that permits the nxterm ioctl commands to be called from within the OS.
   
   There used to be graphics that showed the threading models for NxWM and for Twm4Nx.  There is still a link here for NxWM:  https://cwiki.apache.org/confluence/display/NUTTX/Graphics,  but it is broken.
   
   
   
   
   
   
   
   
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org