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
input
samsung-keypad.h
Go to the documentation of this file.
1
/*
2
* Samsung Keypad platform data definitions
3
*
4
* Copyright (C) 2010 Samsung Electronics Co.Ltd
5
* Author: Joonyoung Shim <
[email protected]
>
6
*
7
* This program is free software; you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation; either version 2 of the License, or (at your
10
* option) any later version.
11
*/
12
13
#ifndef __SAMSUNG_KEYPAD_H
14
#define __SAMSUNG_KEYPAD_H
15
16
#include <
linux/input/matrix_keypad.h
>
17
18
#define SAMSUNG_MAX_ROWS 8
19
#define SAMSUNG_MAX_COLS 8
20
33
struct
samsung_keypad_platdata
{
34
const
struct
matrix_keymap_data
*
keymap_data
;
35
unsigned
int
rows
;
36
unsigned
int
cols
;
37
bool
no_autorepeat
;
38
bool
wakeup
;
39
40
void
(*
cfg_gpio
)(
unsigned
int
rows
,
unsigned
int
cols
);
41
};
42
43
#endif
/* __SAMSUNG_KEYPAD_H */
Generated on Thu Jan 10 2013 14:51:38 for Linux Kernel by
1.8.2