Premium Only Content
Full Featured Controller / Mouse / Keyboard Input in GLFW | Cross Platform Game Engine Development
In this lesson, we implement a fully-featured input manager with controller, keyboard, and mouse support in GLFW into our C++ cross-platform YouTube game engine.
This system provides support for mapping inputs to actions similar to the input systems in Unreal Engine, Unity, and Godot. I'll explain the theory behind the system, design an interface and then we'll jump in and implement the solution to completion.
Next time, we'll continue working on our Vulkan renderer in order to see these inputs in action on screen.
Chapters:
00:00:00 Intro
00:02:15 Feature Explanation (Software Engineering 01)
00:07:00 Interface Design (Software Engineering 02)
00:19:30 Offline Changes
00:21:00 Action Mapping System
00:39:50 Extending the Service Locator
00:49:27 Storing Input Device State
00:55:40 Main Input Loop (Generating Action Events)
01:17:30 Registering Input Devices with Input Manager
01:21:30 GLFW integration 01 (Keyboard + Mouse)
01:42:15 Debugging Session 01 (Bug fixes)
01:46:35 GLFW integration 02 (Keyboard + Mouse)
01:56:50 Verifying Implementation ( validating the flow + tweaks)
02:00:50 Using the Input Manager from our Game
02:20:35 Detecting Gamepads and Controller Input in GLFW
02:33:00 Debugging Session 02 (Some idiosyncracies with GLFW)
02:46:55 Collecting Gamepad State (buttons and axes)
03:05:24 Using Controllers in our Game! (IT WORKS!)
03:11:45 Conclusion, Next Steps, Homework ( plz don't skip thanks =] )
-
5:53
SLS - Street League Skateboarding
5 days agoBraden Hoban’s San Diego Roots & Hometown Win | Kona Big Wave “Beyond The Ride” Part 2
2.03K3 -
LIVE
TheBedBug
3 hours ago🔴 LIVE: EPIC CROSSOVER - PATH OF EXILE 2 x MARVEL RIVALS
398 watching -
1:12:45
The Quartering
1 hour agoTerror In New Orleans, Attacker Unmasked, Tesla BLOWS UP At Trump Tower! Are We Under Attack?
25.9K23 -
DVR
Robert Gouveia
3 hours agoNew Year TERROR; Trump Speaks at Mar-a-Lago; Speaker Johnson FIGHT
21.6K14 -
22:21
Russell Brand
1 day agoVaccines Don't Cause Autism*
106K488 -
2:05:27
The Dilley Show
2 hours ago $11.78 earnedNew Years Agenda, New Orleans Terror Attack and More! w/Author Brenden Dilley 01/01/2025
26.2K10 -
25:45
Outdoor Boys
2 days ago3 Days in Arctic Survival Shelter - Solo Bushcraft Camping & Blacksmithing
27.6K14 -
2:59:05
Wendy Bell Radio
9 hours agoAmerica Is Back
85.5K101 -
1:45:57
Tucker Carlson
5 days agoAaron Siri: Everything You Should Know About the Polio Vaccine, & Its Link to the Abortion Industry
105K168 -
1:46:38
Real Coffee With Scott Adams
4 hours agoEpisode 2707 CWSA 01/01/25
25.5K19