branchsbox/sdl-gamecontrollercancel

30 Commits over 0 Days - ∞cph!

8 Months Ago
Rip out SteamInput and our Controller API Init SDL_GAMECONTROLLER, add standard mappings file (will move this later), find all of our game controllers on startup, hook up events for handling controller lifetime, button events and analog inputs Turn off steam overlay in the editor again Forward controller button events to managed Forward controller axis events to managed Simple device instance memory (disconnect and reconnecting the same controller should point to the same device), all events pass controller ID Delete Input.AnalogInputs/GetAnalog (might re-add later) GameController -> CGameController, some code refactor, Controller is a handle Update sdl2 lib Didn't mean to push this launch setting Remove legacy sdl haptics code, replace with SDL_GameControllerRumble Implement default LED colors based on instance, rumble the gamepad on every button press test Test passing controller input to input context Parse analog inputs local to each controller, add virtual trigger buttons based from axis result Hook up AnalogLook/AnalogMove for first controller (test) Make prints less obnoxious Re-add Input.UsingController (simpler now) Temporary generated glyphs for gamepad Look for input glyph svgs Plug in a bunch of glyph icons for xbox controller Add GameControllerType_t, expose ControllerType to managed, add GlyphVendor LoadGlyphTexture will look for the controller's vendor and fall back to default if not found Add a few PlayStation glyphs Documentation Support analog input glyphs Add methods for fetching gyroscope and accelerometer readings from specific controllers Remove controller binding panel (not used) Forgot to get rid of this method 🤦 Move GameController ctor to implementation Remove FindControllers, does nothing, was a test for me Native cleanup, add safety, fixed controller disconnect crashing game Make Controller internal + sealed Remove my #ifdef V_COMPILER_MSVC usage Change InputMotionData to reflect new API Make sure to set the size of svg glyphs Keep current glyph API intact, add new version to control outline Docs, GameControllerExtensions to internal Why the fuck are you there
8 Months Ago
Docs, GameControllerExtensions to internal Why the fuck are you there
8 Months Ago
Make sure to set the size of svg glyphs Keep current glyph API intact, add new version to control outline
8 Months Ago
Change InputMotionData to reflect new API
8 Months Ago
Remove my #ifdef V_COMPILER_MSVC usage
8 Months Ago
Make Controller internal + sealed
8 Months Ago
Move GameController ctor to implementation Remove FindControllers, does nothing, was a test for me Native cleanup, add safety, fixed controller disconnect crashing game
8 Months Ago
Forgot to get rid of this method 🤦
8 Months Ago
Remove controller binding panel (not used)
8 Months Ago
Add methods for fetching gyroscope and accelerometer readings from specific controllers
8 Months Ago
Documentation Support analog input glyphs
8 Months Ago
Add GameControllerType_t, expose ControllerType to managed, add GlyphVendor LoadGlyphTexture will look for the controller's vendor and fall back to default if not found Add a few PlayStation glyphs
8 Months Ago
Look for input glyph svgs Plug in a bunch of glyph icons for xbox controller
8 Months Ago
Temporary generated glyphs for gamepad
8 Months Ago
Re-add Input.UsingController (simpler now)
8 Months Ago
Make prints less obnoxious
8 Months Ago
Parse analog inputs local to each controller, add virtual trigger buttons based from axis result Hook up AnalogLook/AnalogMove for first controller (test)
8 Months Ago
Test passing controller input to input context
8 Months Ago
Implement default LED colors based on instance, rumble the gamepad on every button press test
8 Months Ago
Remove legacy sdl haptics code, replace with SDL_GameControllerRumble
8 Months Ago
Didn't mean to push this launch setting
8 Months Ago
Update sdl2 lib
8 Months Ago
Rip out SteamInput and our Controller API Init SDL_GAMECONTROLLER, add standard mappings file (will move this later), find all of our game controllers on startup, hook up events for handling controller lifetime, button events and analog inputs Turn off steam overlay in the editor again Forward controller button events to managed Forward controller axis events to managed Simple device instance memory (disconnect and reconnecting the same controller should point to the same device), all events pass controller ID Delete Input.AnalogInputs/GetAnalog (might re-add later) GameController -> CGameController, some code refactor, Controller is a handle
9 Months Ago
GameController -> CGameController, some code refactor, Controller is a handle
9 Months Ago
Rip out SteamInput and our Controller API Init SDL_GAMECONTROLLER, add standard mappings file (will move this later), find all of our game controllers on startup, hook up events for handling controller lifetime, button events and analog inputs Turn off steam overlay in the editor again Forward controller button events to managed Forward controller axis events to managed Simple device instance memory (disconnect and reconnecting the same controller should point to the same device), all events pass controller ID Delete Input.AnalogInputs/GetAnalog (might re-add later)
9 Months Ago
Delete Input.AnalogInputs/GetAnalog (might re-add later)
9 Months Ago
Simple device instance memory (disconnect and reconnecting the same controller should point to the same device), all events pass controller ID
9 Months Ago
Forward controller axis events to managed
9 Months Ago
Forward controller button events to managed
9 Months Ago
Rip out SteamInput and our Controller API Init SDL_GAMECONTROLLER, add standard mappings file (will move this later), find all of our game controllers on startup, hook up events for handling controller lifetime, button events and analog inputs Turn off steam overlay in the editor again