EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
usbkbdscancodes.c File Reference

Detailed Description

USB HID keyboard scancodes.

Version
5.1.1

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"

Go to the source code of this file.

Functions

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

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)".