summaryrefslogtreecommitdiff
path: root/src/devices
Commit message (Collapse)AuthorAge
* Gate gamepad support behind a feature flagBen Bridle19 hours
| | | | | | | | | This is to make it possible to compile bedrock-pc without gamepad support, which is useful when the target platform doesn't have the libraries for udev (required by the gilrs dependency). This commit is a bit of a hack, it'd be nice to implement this better some day.
* Invalidate the cached directory in the file device after a durationBen Bridle2025-07-08
| | | | | | | | | | | The most recent directory accessed by the file device is cached to improve performance when rapidly ascending and descending between sibling entries. This causes an issue where, in a sandboxed root directory that contains only files, a program will be unable to invalidate the cache and any changes to the directory outside the program will not be seen by the program. To fix this, the directory cache now only lasts for one second.
* Sandbox the file deviceBen Bridle2025-07-07
| | | | | | Unless the --trust-files switch is used, the file device will be sandboxed to a program-specific config folder placed according to the conventions of the operating system.
* Fix port mapping for file deviceBen Bridle2025-07-04
| | | | A mapping used by an older prototype of Bedrock was still in use.
* Wake the input device when the mouse is scrolledBen Bridle2025-07-04
| | | | This was omitted in error.
* Initial commitBen Bridle2025-07-03