Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
keyboard-pxa930_rotary.h
Go to the documentation of this file.
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 */
Generated on Thu Jan 10 2013 14:52:20 for Linux Kernel by
1.8.2