summaryrefslogtreecommitdiff
path: root/uisimulator/win32/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/button.c')
-rw-r--r--uisimulator/win32/button.c23
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
8void button_init(void) {}int button_get(void) 27void button_init(void) {}
28
29int button_get(void)
9{ 30{
10 int btn = 0; 31 int btn = 0;
11 if (KEY (VK_NUMPAD4) || 32 if (KEY (VK_NUMPAD4) ||