Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.8-rc1 21 lines 642 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_ARCH_PXA930_ROTARY_H 3#define __ASM_ARCH_PXA930_ROTARY_H 4 5/* NOTE: 6 * 7 * rotary can be either interpreted as a ralative input event (e.g. 8 * REL_WHEEL or REL_HWHEEL) or a specific key event (e.g. UP/DOWN 9 * or LEFT/RIGHT), depending on if up_key & down_key are assigned 10 * or rel_code is assigned a non-zero value. When all are non-zero, 11 * up_key and down_key will be preferred. 12 */ 13struct pxa930_rotary_platform_data { 14 int up_key; 15 int down_key; 16 int rel_code; 17}; 18 19void __init pxa930_set_rotarykey_info(struct pxa930_rotary_platform_data *info); 20 21#endif /* __ASM_ARCH_PXA930_ROTARY_H */