]>
Commit | Line | Data |
---|---|---|
e0ee6298 YY |
1 | #ifndef __ASM_ARCH_PXA930_ROTARY_H |
2 | #define __ASM_ARCH_PXA930_ROTARY_H | |
3 | ||
4 | /* NOTE: | |
5 | * | |
6 | * rotary can be either interpreted as a ralative input event (e.g. | |
7 | * REL_WHEEL or REL_HWHEEL) or a specific key event (e.g. UP/DOWN | |
8 | * or LEFT/RIGHT), depending on if up_key & down_key are assigned | |
9 | * or rel_code is assigned a non-zero value. When all are non-zero, | |
10 | * up_key and down_key will be preferred. | |
11 | */ | |
12 | struct pxa930_rotary_platform_data { | |
13 | int up_key; | |
14 | int down_key; | |
15 | int rel_code; | |
16 | }; | |
17 | ||
18 | void __init pxa930_set_rotarykey_info(struct pxa930_rotary_platform_data *info); | |
19 | ||
20 | #endif /* __ASM_ARCH_PXA930_ROTARY_H */ |