diff options
author | Felix Arends <edx@rockbox.org> | 2002-04-27 15:20:53 +0000 |
---|---|---|
committer | Felix Arends <edx@rockbox.org> | 2002-04-27 15:20:53 +0000 |
commit | a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee (patch) | |
tree | 558e54de047a1cde0ac61ab110e54a4bda69d343 /uisimulator/win32/button.c | |
parent | 49ea8fb28140f9297a1d470e56761702a389e5b3 (diff) | |
download | rockbox-a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee.tar.gz rockbox-a6ca085a35fc2b1739fc8d1e6cf064b45279e8ee.zip |
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
Diffstat (limited to 'uisimulator/win32/button.c')
-rw-r--r-- | uisimulator/win32/button.c | 23 |
1 files changed, 22 insertions, 1 deletions
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 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Felix Arends | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
1 | #include <windows.h> | 20 | #include <windows.h> |
2 | #include "config.h" | 21 | #include "config.h" |
3 | #include "sh7034.h" | 22 | #include "sh7034.h" |
@@ -5,7 +24,9 @@ | |||
5 | 24 | ||
6 | #define KEY(k) HIBYTE(GetKeyState (k)) | 25 | #define KEY(k) HIBYTE(GetKeyState (k)) |
7 | 26 | ||
8 | void button_init(void) {}int button_get(void) | 27 | void button_init(void) {} |
28 | |||
29 | int button_get(void) | ||
9 | { | 30 | { |
10 | int btn = 0; | 31 | int btn = 0; |
11 | if (KEY (VK_NUMPAD4) || | 32 | if (KEY (VK_NUMPAD4) || |