diff --git a/DemoWindowInput/main.cpp b/DemoWindowInput/main.cpp index 76d024a..a4e36c0 100644 --- a/DemoWindowInput/main.cpp +++ b/DemoWindowInput/main.cpp @@ -20,7 +20,7 @@ struct Visitor : InputEventVisitor bool pressed) override { fmt::print("key={}, pressed={}\n", - archetype.val().code, + archetype.component().code, pressed ); }