![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _VIVALDI_FMAP_H 0003 #define _VIVALDI_FMAP_H 0004 0005 #include <linux/types.h> 0006 0007 #define VIVALDI_MAX_FUNCTION_ROW_KEYS 24 0008 0009 /** 0010 * struct vivaldi_data - Function row map data for ChromeOS Vivaldi keyboards 0011 * @function_row_physmap: An array of scancodes or their equivalent (HID usage 0012 * codes, encoded rows/columns, etc) for the top 0013 * row function keys, in an order from left to right 0014 * @num_function_row_keys: The number of top row keys in a custom keyboard 0015 * 0016 * This structure is supposed to be used by ChromeOS keyboards using 0017 * the Vivaldi keyboard function row design. 0018 */ 0019 struct vivaldi_data { 0020 u32 function_row_physmap[VIVALDI_MAX_FUNCTION_ROW_KEYS]; 0021 unsigned int num_function_row_keys; 0022 }; 0023 0024 ssize_t vivaldi_function_row_physmap_show(const struct vivaldi_data *data, 0025 char *buf); 0026 0027 #endif /* _VIVALDI_FMAP_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |