Skip to content

valdessa/ImGui_NintendoSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImGui for Nintendo Switch

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


ImGui Switch Demo


🌐 More projects on my portfolio: Portfolio


🛠️ Build Instructions

Prerequisites

You need the DevKitPro toolchain installed:

  • libnx
  • switch-glfw
  • switch-glad

Building

make

This will generate a .nro file that can run on:

  • 🎮 Real Nintendo Switch (via homebrew launcher)
  • 💻 Ryujinx Emulator (for testing on PC)

Running on Switch

nxlink -s -a <SWITCH_IP> ImGui_NintendoSwitch.nro

🎮 Controls

  • Touchscreen: Direct interaction with UI elements
  • Gamepad: Navigate using D-Pad and buttons
  • START (+): Exit application

📁 Project Structure

.
├── 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

🙏 Credits

  • Dear ImGui by Omar Cornut
  • GLFW - Multi-platform library for OpenGL
  • DevKitPro Team - Nintendo Switch toolchain
  • switch-glfw port - GLFW for Nintendo Switch

📝 License

This project is for educational and demonstration purposes. Dear ImGui is licensed under the MIT License.


Made with ❤️ by Sebastián Valdés

About

Dear ImGui example for Nintendo Switch homebrew. GLFW integration with OpenGL rendering, touchscreen input, gamepad navigation, and Nintendo Switch system fonts.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages