usbkbdscancodes.c File Reference

USB HID keyboard scancodes. More...

#include <stdint.h>
#include "usbkbdscancodes.h"
Include dependency graph for usbkbdscancodes.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.

Detailed Description

USB HID keyboard scancodes.

Version:
4.0.0

License

(C) Copyright 2014 Silicon Labs, 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.


Variable Documentation

static const uint8_t Scancode2Ascii [static]

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

Definition at line 20 of file usbkbdscancodes.c.

Referenced by USB_HidScancodeToAscii().