- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, how can i find the HID Keyboard example? Is that a project presented by Cypress?
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please download PSoC Creator 3.3 from cypress website and install it.
Open PSoC Creator, go to File -> Code examples. There you can find BLE_HID_Keyboard example project
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you that helped 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is the official documentation for HID key codes: http://www.usb.org/developers/hidpage/Hut1_12v2.pdf
Page 53 (Section 10: Keyboard/Keypad Page) contains the key codes for the various letters/characters;
The values are 4F,50,51,52 for Right,Left,Down,Up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is useful information but I'm trying to figure out how to apply it to HID over I²C.
I have a 12 key keypad that I plan to use in a Windows 10 system I am building. Well, building 255 of them for now and more later so the inexpensive CY8CKIT-049-42xx kit I think will work best for me. Plus with the USB to UART part removed, it fits nicely on the back of the keypad if I line up the input pins of the PSoC. I figure on taking in the 8 pins and logically assigning them to a value (if row1 AND col1 THEN output "1") so if we need to rearrange keys, say phone layout to calculator, we can just change the assignments.
Can you point me to examples of using I2C to put out data in such a way? I will be connecting to the I2C of an Up board which has near identical GPIO as the Raspberry Pi-3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HID is bus agnostic, and thus implementing it over I2C is more or less a case of organizing the bus protocol. Here is a link to the documentation for microsoft's implementation of HID over I2C: https://msdn.microsoft.com/en-us/library/windows/hardware/dn642101(v=vs.85).aspx