nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
fn_keys_def.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#include <caf/key_id.h>
8
9/* This configuration file is included only once from fn_keys module and holds
10 * information about key with alternate functions.
11 */
12
13/* This structure enforces the header file is included only once in the build.
14 * Violating this requirement triggers a multiple definition error at link time.
15 */
17
18static const uint16_t fn_keys[] = {
19 KEY_ID(0x01, 0x03), /* f3 -> e-mail */
20 KEY_ID(0x03, 0x01), /* esc -> fn lock */
21 KEY_ID(0x03, 0x03), /* f4 -> calculator */
22 KEY_ID(0x03, 0x0A), /* f11 -> play/pause */
23 KEY_ID(0x05, 0x0A), /* f12 -> next */
24 KEY_ID(0x06, 0x02), /* f1 -> sleep */
25 KEY_ID(0x06, 0x03), /* f2 -> internet */
26 KEY_ID(0x06, 0x0A), /* f9 -> find */
27 KEY_ID(0x06, 0x0C), /* insert -> prt scr */
28 KEY_ID(0x06, 0x0D), /* page up -> scroll lock */
29 KEY_ID(0x06, 0x0E), /* home -> pause break */
30 KEY_ID(0x07, 0x0A), /* f10 -> previous */
31 KEY_ID(0x07, 0x0D), /* page down -> peer control */
32};
static const uint16_t fn_keys[]
Definition: fn_keys_def.h:18
const struct @113 fn_key_def_include_once
#define KEY_ID(_col, _row)
Definition: key_id.h:26