mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 20:41:38 +12:00
[HID] Implement events
This commit is contained in:
parent
5465eb31c1
commit
6419098851
7 changed files with 34 additions and 15 deletions
|
@ -31,6 +31,9 @@ void Emulator::run() {
|
|||
kernel.sendGPUInterrupt(GPUInterrupt::VBlank0);
|
||||
kernel.sendGPUInterrupt(GPUInterrupt::VBlank1);
|
||||
|
||||
// Update inputs in the HID module
|
||||
kernel.updateInputs();
|
||||
|
||||
SDL_Event event;
|
||||
while (SDL_PollEvent(&event)) {
|
||||
if (event.type == SDL_QUIT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue