misc/pca955*: Move models under hw/gpio
[qemu/kevin.git] / include / hw / input / lm832x.h
blobe0e5d5ef20e1100fc7449c4602609c25314df9f4
1 /*
2 * National Semiconductor LM8322/8323 GPIO keyboard & PWM chips.
4 * Copyright (C) 2008 Nokia Corporation
5 * Written by Andrzej Zaborowski <andrew@openedhand.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 or
10 * (at your option) version 3 of the License.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef HW_INPUT_LM832X_H
22 #define HW_INPUT_LM832X_H
24 #define TYPE_LM8323 "lm8323"
26 void lm832x_key_event(DeviceState *dev, int key, int state);
28 #endif