![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __ASM_ARCH_PXA930_ROTARY_H 0003 #define __ASM_ARCH_PXA930_ROTARY_H 0004 0005 /* NOTE: 0006 * 0007 * rotary can be either interpreted as a ralative input event (e.g. 0008 * REL_WHEEL or REL_HWHEEL) or a specific key event (e.g. UP/DOWN 0009 * or LEFT/RIGHT), depending on if up_key & down_key are assigned 0010 * or rel_code is assigned a non-zero value. When all are non-zero, 0011 * up_key and down_key will be preferred. 0012 */ 0013 struct pxa930_rotary_platform_data { 0014 int up_key; 0015 int down_key; 0016 int rel_code; 0017 }; 0018 0019 void __init pxa930_set_rotarykey_info(struct pxa930_rotary_platform_data *info); 0020 0021 #endif /* __ASM_ARCH_PXA930_ROTARY_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |