rockbox/firmware/target/arm/imx233/touchscreen-imx233.h
Amaury Pouly f7132e4044 Fix copyright headers
Change-Id: Ie65920b1192e9b737fcc2554d280fbcedfa39800
2012-12-29 01:40:35 +01:00

31 lines
No EOL
1.2 KiB
C

/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2012 by Amaury Pouly
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#ifndef __TOUCHSCREEN_IMX233__
#define __TOUCHSCREEN_IMX233__
#include "lradc-imx233.h"
void imx233_touchscreen_init(void);
void imx233_touchscreen_enable(bool enable);
/* returns true if there is a touch */
bool imx233_touchscreen_get_touch(int *raw_x, int *raw_y);
#endif /* __TOUCHSCREEN_IMX233__ */