apprt/glfw: add noop keyboardLayout func to satisfy tests and builds

This commit is contained in:
Mitchell Hashimoto
2024-12-11 11:14:36 -08:00
parent 22cc802157
commit ab60fbc096

View File

@ -409,6 +409,13 @@ pub const App = struct {
}
}
pub fn keyboardLayout(self: *const App) input.KeyboardLayout {
_ = self;
// Not supported by glfw
return .unknown;
}
/// Mac-specific settings. This is only enabled when the target is
/// Mac and the artifact is a standalone exe. We don't target libs because
/// the embedded API doesn't do windowing.