usertonycancel
reposboxcancel

1,061 Commits over 976 Days - 0.05cph!

11 Months Ago
Improve LoadGlyphTexture logic
11 Months Ago
Remove KeyGlyphLoader, supply all keyboard and mouse glyph files Let me know if I missed any buttons, I don't have a numpad on my keyboard so tag me!
11 Months Ago
Expose Input.TriggerVibration (using existing API), hook up SDL_GameControllerRumbleTriggers
11 Months Ago
Game Controllers using SDL2 (#1509)
11 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
11 Months Ago
Docs, GameControllerExtensions to internal Why the fuck are you there
11 Months Ago
Make sure to set the size of svg glyphs Keep current glyph API intact, add new version to control outline
11 Months Ago
Change InputMotionData to reflect new API
11 Months Ago
Remove my #ifdef V_COMPILER_MSVC usage
11 Months Ago
Make Controller internal + sealed
11 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
11 Months Ago
Forgot to get rid of this method 🤦
11 Months Ago
Remove controller binding panel (not used)
11 Months Ago
GameObjectInspector: reused component sheets get added to used list so we don't end up duplicating the same component type
11 Months Ago
Use component.ToString for ComponentControlWidget, to make it easier to override what's shown
11 Months Ago
Fix NRE when running Game.Close in the editor Toggle play when running Game.Close in the editor
11 Months Ago
Better warning if we can't find ITagset Fixed ManualHitbox.HitboxTags being uneditable in the inspector (fixes Facepunch/sbox-issues#5231)
11 Months Ago
Fixed editing input action group not showing visible changes until re-opening project settings menu. Fixes Facepunch/sbox-issues#5235
11 Months Ago
Fixed delete prompt having no content
11 Months Ago
Messed with input action panel dialogs, fix Facepunch/sbox-issues#5232
11 Months Ago
Add methods for fetching gyroscope and accelerometer readings from specific controllers
11 Months Ago
Documentation Support analog input glyphs
11 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
11 Months Ago
Look for input glyph svgs Plug in a bunch of glyph icons for xbox controller
11 Months Ago
Temporary generated glyphs for gamepad
11 Months Ago
Re-add Input.UsingController (simpler now)
11 Months Ago
Make prints less obnoxious
11 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)
11 Months Ago
Test passing controller input to input context
11 Months Ago
Implement default LED colors based on instance, rumble the gamepad on every button press test
11 Months Ago
Remove legacy sdl haptics code, replace with SDL_GameControllerRumble
11 Months Ago
Didn't mean to push this launch setting
11 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
11 Months Ago
Resolve sbox-issues/issues/5171 by making dragValue match
11 Months Ago
GameController -> CGameController, some code refactor, Controller is a handle
11 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)
11 Months Ago
Delete Input.AnalogInputs/GetAnalog (might re-add later)
11 Months Ago
Simple device instance memory (disconnect and reconnecting the same controller should point to the same device), all events pass controller ID
11 Months Ago
Forward controller axis events to managed
11 Months Ago
Forward controller button events to managed
11 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
11 Months Ago
Initial proof of concept for scoping gamepad inputs - Push input scope if a GameObject has an InputScope component, which pushes the active input context - Don't use Controller.First anywhere other than UI - Poll every gamepad input and store an InputContext per controller, instead of just the first one Todo: - Fallback to first controller if we don't define any input scopes at all - Let the keyboard and mouse easily be the "non-scoped" input, so we can have two player games with just one gamepad
11 Months Ago
Can drop into hierarchy (resolves Facepunch/sbox-issues#4453)
11 Months Ago
F1 console: copy exception stack to clipboard when clicking entry (resolves Facepunch/sbox-issues#5038)
11 Months Ago
Add scroll area to EnumControlWidget
11 Months Ago
Update IntegerControlWidget label color GameManager -> Game
11 Months Ago
Populate some missing TypeSerializedField virtuals (fixes Facepunch/sbox-issues#5042)
11 Months Ago
Support serializing field containers
11 Months Ago
Fix Facepunch/sbox-issues#5048, Facepunch/sbox-issues#5044
11 Months Ago
Scope to the active scene when running commands