mirror of
https://github.com/kbeckmann/game-and-watch-retro-go.git
synced 2025-12-17 19:16:02 +01:00
Squashed commit of the following:
commit 8bdab8b69ee37aeafedb8da7d13fb6c02c35cc04
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sun Dec 6 15:11:47 2020 +0100
Update submodule
commit eaaf1893e4dc8c6ec66039a99de057de60b5f2b5
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sun Dec 6 15:11:38 2020 +0100
Use HALF_QUAD_MODE
commit 069985bec8b78e3c54fda2ef632ce9d7e3e79eaf
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sun Dec 6 15:11:27 2020 +0100
Add missing file
commit d0bb4e89f1701097f4c8e6f81ac39561157e1ea8
Author: Thomas Roth <code@stacksmashing.net>
Date: Sat Dec 5 13:59:18 2020 +0100
Fix HALF_QUAD_MODE support
commit d87def7b63b297231b4b9419998d63f878cce8d6
Author: Thomas Roth <code@stacksmashing.net>
Date: Sat Dec 5 13:42:27 2020 +0100
Add support for different flash sizes
commit 85da98252194eaeb7344b7edd3b4655996e96344
Merge: c2be063 df701cd
Author: Konrad Beckmann <konrad.beckmann@gmail.com>
Date: Sat Dec 5 01:06:47 2020 +0100
Merge remote-tracking branch 'origin/main' into largeflash_snapshots
commit c2be0637a99b41dbbcdab8db96dd5a4fd9f917c1
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 23:07:48 2020 +0100
Enable nearest-neighbor with -DBLIT_NEAREST
commit 4706648eb4a777431ab82ae9f16bec1535d97ae3
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 22:51:40 2020 +0100
Vsync
commit 692bf35345b1eae52a2cc88510f785daf8c29ccb
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 22:25:26 2020 +0100
Update retro-go-stm32
commit b3caa6dd3a946e8d0e799779130daaab15a0ae8b
Author: Thomas Roth <code@stacksmashing.net>
Date: Fri Dec 4 20:27:27 2020 +0100
Initial snapshot support (large flash only)
19 lines
335 B
C
19 lines
335 B
C
#ifndef _GW_BUTTONS_H_
|
|
#define _GW_BUTTONS_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#define B_Left (1 << 0)
|
|
#define B_Up (1 << 1)
|
|
#define B_Right (1 << 2)
|
|
#define B_Down (1 << 3)
|
|
#define B_A (1 << 4)
|
|
#define B_B (1 << 5)
|
|
#define B_TIME (1 << 6)
|
|
#define B_GAME (1 << 7)
|
|
#define B_PAUSE (1 << 8)
|
|
#define B_POWER (1 << 9)
|
|
|
|
uint32_t buttons_get();
|
|
|
|
#endif |