# HG changeset patch # User Michael Pavone # Date 1740296174 28800 # Node ID 32ce6c588bc90d9738b1ecf500e98ef9b1120da7 # Parent df6dbf229e2fa8e02f358b93cf3fe2601f2b7076 Add some hint test for web since controllers are hidden for anti-fingerprinting reasons diff -r df6dbf229e2f -r 32ce6c588bc9 nuklear_ui/blastem_nuklear.c --- a/nuklear_ui/blastem_nuklear.c Sat Feb 22 23:33:12 2025 -0800 +++ b/nuklear_ui/blastem_nuklear.c Sat Feb 22 23:36:14 2025 -0800 @@ -1885,6 +1885,10 @@ if (!found_controller) { nk_layout_row_static(context, context->style.font->height, render_width() - 2 * context->style.font->height, 1); nk_label(context, "No controllers detected", NK_TEXT_CENTERED); +#ifdef __EMSCRIPTEN__ + nk_label(context, "You must press a button on the controller", NK_TEXT_CENTERED); + nk_label(context, "before it will be shown here", NK_TEXT_CENTERED); +#endif } nk_layout_row_static(context, context->style.font->height, (render_width() - 2 * context->style.font->height) / 2, 2); nk_label(context, "", NK_TEXT_LEFT);