A Dear ImGui example for Nintendo Switch homebrew, featuring OpenGL 4.3, GLFW integration, touchscreen support, and gamepad navigation.
Developer: Sebastián Valdés Sánchez
🌐 More projects on my portfolio: Portfolio
You need the DevKitPro toolchain installed:
- libnx
- switch-glfw
- switch-glad
makeThis will generate a .nro file that can run on:
- 🎮 Real Nintendo Switch (via homebrew launcher)
- 💻 Ryujinx Emulator (for testing on PC)
nxlink -s -a <SWITCH_IP> ImGui_NintendoSwitch.nro- Touchscreen: Direct interaction with UI elements
- Gamepad: Navigate using D-Pad and buttons
- START (+): Exit application
.
├── src/
│ ├── main.cpp # Main application entry
│ ├── imgui_impl_glfw_switch.cpp # GLFW backend for Switch
│ └── imgui_impl_opengl3.cpp # OpenGL3 renderer
├── include/
│ └── embedded_poyo_icon.h # Embedded texture example
├── Makefile
└── README.md
- Dear ImGui by Omar Cornut
- GLFW - Multi-platform library for OpenGL
- DevKitPro Team - Nintendo Switch toolchain
- switch-glfw port - GLFW for Nintendo Switch
This project is for educational and demonstration purposes. Dear ImGui is licensed under the MIT License.
Made with ❤️ by Sebastián Valdés