From a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee Mon Sep 17 00:00:00 2001 From: Felix Arends Date: Sat, 27 Apr 2002 15:20:53 +0000 Subject: removed unneeded code from lcd.c and renamed it do lcd-win32.c updated modified constants (LCD_WIDTH, LCD_HEIGHT) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@261 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/button.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'uisimulator/win32/button.c') diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c index ebcf973faa..6c4ec9962a 100644 --- a/uisimulator/win32/button.c +++ b/uisimulator/win32/button.c @@ -1,3 +1,22 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2002 by Felix Arends + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + #include #include "config.h" #include "sh7034.h" @@ -5,7 +24,9 @@ #define KEY(k) HIBYTE(GetKeyState (k)) -void button_init(void) {}int button_get(void) +void button_init(void) {} + +int button_get(void) { int btn = 0; if (KEY (VK_NUMPAD4) || -- cgit v1.2.3