2 * drivers/input/keyboard/tegra-nvec.c
4 * Keyboard class input driver for keyboards connected to an NvEc compliant
7 * Copyright (c) 2009, NVIDIA Corporation.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, see http://www.gnu.org/licenses
23 static unsigned short code_tab_102us[] = {
163 static unsigned short extcode_tab_us102[] = {
190 /* VK_MEDIA_NEXT_TRACK */
203 /* VK_MEDIA_PLAY_PAUSE */
222 /* VK_BROWSER_HOME */
233 /* VK_OEM_NV_BACKLIGHT_UP */
235 /* VK_OEM_NV_BACKLIGHT_DN */
237 /* VK_OEM_NV_BACKLIGHT_AUTOTOGGLE */
239 /* VK_OEM_NV_POWER_INFO */
241 /* VK_OEM_NV_WIFI_TOGGLE */
243 /* VK_OEM_NV_DISPLAY_SELECT */
245 /* VK_OEM_NV_AIRPLANE_TOGGLE */
286 /* VK_BROWSER_SEARCH */
288 /* VK_BROWSER_FAVORITES */
290 /* VK_BROWSER_REFRESH */
292 /* VK_BROWSER_STOP */
294 /* VK_BROWSER_FORWARD */
296 /* VK_BROWSER_BACK */
302 /* VK_LAUNCH_MEDIA_SELECT */
306 static unsigned short *code_tabs[] = { code_tab_102us, extcode_tab_us102 };