btashton opened a new pull request #1851:
URL: https://github.com/apache/incubator-nuttx/pull/1851


   ## Summary
   This adds support for the Q10 BlackBerry based keyboard from Solder Party.
   - https://www.solder.party/docs/keyboard-pmod/
   - https://www.solder.party/docs/keyboard-featherwing/
   
   They keyboard device registered at `/dev/kbdN` is fully compatible with the 
hidkbd example that is normally used to test USB HID devices.
   
   TODO:
   
   - [ ] Move logic in interrupt handler into a worker thread to be able to 
perform proper locking.  (Commented in the code)
   
   ## Impact
   Adds support for a new keyboard input device.
   
   ## Testing
   It has been tested with the Keyboard FeatherWing on the nRF52 platform.
   
   ```
   nrf_stmpe811_setup: minor 0
   nrf_stmpe811_setup: Initializing
   stmpe811_checkid: devid: 0811
   stmpe811_register: handle=0x20000724 minor=0
   stmpe811_tscinitialize: Initializing touchscreen controller
   kb_card_state: Detected SD card inserted.
   q10kbd_setup: Initializing
   spq10kbd_register: i2c: 0x200001b4 minor: a
   spq10kbd_checkver: version: 02
   spq10kbd_register: Registering /dev/kbda
   
   NuttShell (NSH) NuttX-9.1.0
   nsh> hidkbd
   Opening device /dev/kbda
   Device /dev/kbda opened
   Hello from Keyboard FeatherWing
   
   #123()_-+@
   *456/:;'"
   789?!,.`
   0
   qwertyuiop
   asdfghjkl
   zxcvbnm$
   ~ 
   QWERTYUIOP
   ASDFGHJKL
   ZXCVBNM$
   ~ ABCDEG
   ```
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to