usbkbdscancodes.c File Reference

USB HID keyboard scancodes.

Version
5.5.0

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file usbkbdscancodes.c .

#include <stdint.h>
#include " usbkbdscancodes.h "

Functions

char USB_HidScancodeToAscii (uint8_t scancode)
Converts the keyboard scancode to ASCII.

Variables

static const uint8_t Scancode2Ascii []
Table of keyboard scancode to ASCII mappings. Refer to the "HID Usage Tables" standard document from www.usb.org, section 10 "Keyboard/Keypad Page (0x07)".