summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Input/SInputState.cs
AgeCommit message (Collapse)Author
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-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-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-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.