summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Input
AgeCommit message (Collapse)Author
2022-04-13enable nullable annotations in the rest of SMAPI core (#837)Jesse 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.
2022-04-06remove some unused/redundant codeJesse Plamondon-Willard
2022-04-06simplify with newer pattern featuresJesse Plamondon-Willard
2022-04-06use target-typed newJesse Plamondon-Willard
2022-03-22reduce duplicated doc blocksJesse Plamondon-Willard
2022-02-11fix thumbstick input overridesJesse Plamondon-Willard
2021-11-28drop support for XNA FrameworkJesse Plamondon-Willard
Stardew Valley 1.5.5 migrates to MonoGame on all platforms.
2021-01-02fix cursor position incorrectly handling UI mode (#741)Jesse Plamondon-Willard
2020-12-20update for draw changesJesse Plamondon-Willard
That includes child menus, UI draw mode, and UI scaling.
2020-09-08fix input handling issues in SMAPI 3.7Jesse Plamondon-Willard
This commit reverses one of the input handling changes in 3.7 to fix... * input being handled twice in some cases (e.g. a left-click to drop a shop item with Better Shop Menu would instantly sell it); * an issue where Harvest With Scythe would cause the player to skid forward more than usual when scything crops; * possibly other reported issues including gamepad input lag.
2020-09-04extend game's input logic instead of replacing itJesse Plamondon-Willard
2020-05-16use newer C# featuresJesse Plamondon-Willard
2020-03-24fix mouse input suppression broken in SMAPI 3.4 (#705)Jesse Plamondon-Willard
2020-03-08encapsulate logic for each input typeJesse 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
2019-12-05update for 'force off' gamepad option added in Stardew Valley 1.4.0.1Jesse Plamondon-Willard
2019-09-14fix ICursorPosition.AbsolutePixels not adjusted for zoomJesse Plamondon-Willard
2019-09-14fix incorrect input check, update release notesJesse Plamondon-Willard
2019-02-07fix cursor position not updated in edge caseJesse Plamondon-Willard
2018-12-27tweak comment header conventionJesse Plamondon-Willard
2018-06-19 add absolute pixels to ICursorPosition, fix tile not updated if ↵Jesse Plamondon-Willard
screen-relative pos didn't change (#546)
2018-06-02add input APIJesse Plamondon-Willard
2018-05-24fix input suppression not working on the title menu (#527)Jesse Plamondon-Willard
2018-05-05fix input suppression not working in some casesJesse Plamondon-Willard
2018-04-29fix build error on Linux/MacJesse Plamondon-Willard
2018-04-28fix released-button detection (#453)Jesse Plamondon-Willard
2018-04-25rewrite input suppression again (#453)Jesse Plamondon-Willard
This uses the new Game1.input in SDV 1.3.0.37 to override the game's input more consistently, though it still doesn't intercept clicks correctly yet.
2018-04-22rewrite input suppression (#453)Jesse Plamondon-Willard
This lets SMAPI intercept all input using the new Game1.hooks in SDV 1.3.0.32. However, intercepting mouse clicks needs a few more changes in the game code.
2018-04-22don't send chatbox input to mods (#453)Jesse Plamondon-Willard
2018-01-17overhaul input handling (#422)Jesse Plamondon-Willard