summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModHelpers/InputHelper.cs
AgeCommit message (Collapse)Author
2022-04-14track mod metadata reference in APIs for upcoming deprecation changesJesse Plamondon-Willard
2022-04-13enable nullable annotations in SMAPI where no changes are needed (#837)Jesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2021-01-19add method to suppress active keybindings (#744)Jesse Plamondon-Willard
2020-12-20update for split-screen modeJesse Plamondon-Willard
This includes splitting GameRunner (the main game instance) from Game1 (now a per-screen game state), adding a PerScreen<T> utility to simplify per-screen values, adding separate per-screen input handling and events, adding new Context fields for split-screen, and logging the screen ID in split-screen mode to distinguish log entries.
2020-08-30use inheritdocJesse Plamondon-Willard
2020-03-08rework input handling to allow sending custom input to the game/modsJesse Plamondon-Willard
That will let Virtual Keyboard on Android work with the future multi-key binding API, and with mods that check input state directly (e.g. Pathoschild/StardewMods#520). It might also be useful as a public API in future versions.
2020-02-19rename InputStatus to SButtonState for consistencyJesse Plamondon-Willard
2020-02-09add helper.Input.GetStatus methodJesse Plamondon-Willard
2018-06-02add input APIJesse Plamondon-Willard