Add Ctrl+i shortcut to enable/disable FPS counter

Disable FPS counter on start, and use Ctrl+i to enable/disable it.
This commit is contained in:
Romain Vimont
2018-02-15 12:24:16 +01:00
parent 000ced9ba8
commit d977202224
4 changed files with 23 additions and 1 deletions

View File

@@ -3,10 +3,13 @@
#include "common.h"
#include "controller.h"
#include "fpscounter.h"
#include "frames.h"
#include "screen.h"
struct input_manager {
struct controller *controller;
struct frames *frames;
struct screen *screen;
};