test: check if WaylandInputHandler works
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "input/wayland.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "renderer.h"
|
#include "renderer.h"
|
||||||
|
|
||||||
@@ -9,6 +10,7 @@ static Window window(720, 480);
|
|||||||
|
|
||||||
void HandleFrame() {
|
void HandleFrame() {
|
||||||
printf("[APP]: width = %zu, height = %zu\n", window.GetWidth(), window.GetHeight());
|
printf("[APP]: width = %zu, height = %zu\n", window.GetWidth(), window.GetHeight());
|
||||||
|
WaylandInputHandler::GetInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
|
|||||||
Reference in New Issue
Block a user