mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-23 08:59:40 +00:00
f0c17ffc0d
byuu says: Finally!! Compilation works once again on Windows. However, it's pretty buggy. Modality isn't really working right, you can still poke at other windows, but when you select ListView items, they redraw as empty boxes (need to process WM_DRAWITEM before checking modality.) The program crashes when you close it (probably a ruby driver's term() function, that's what it usually is.) The Layout::setEnabled(false) call isn't working right, so you get that annoying chiming sound and cursor movement when mapping keyboard keys to game inputs. The column sizing seems off a bit on first display for the Hotkeys tab. And probably lots more.
19 lines
305 B
C++
19 lines
305 B
C++
#if defined(Hiro_Keyboard)
|
|
|
|
namespace hiro {
|
|
|
|
struct pKeyboard {
|
|
static auto poll() -> vector<bool>;
|
|
static auto pressed(unsigned code) -> bool;
|
|
|
|
static auto initialize() -> void;
|
|
|
|
static auto _translate(unsigned code, unsigned flags) -> signed;
|
|
|
|
static vector<uint16_t> keycodes;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|