<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bedrock-pc/src/devices, branch main</title>
<subtitle>Bedrock emulator and assembler for Windows and Linux
</subtitle>
<id>https://code.benbridle.com/bedrock-pc/atom?h=main</id>
<link rel='self' href='https://code.benbridle.com/bedrock-pc/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/'/>
<updated>2025-09-19T00:05:46Z</updated>
<entry>
<title>Use an error flag for file device errors</title>
<updated>2025-09-19T00:05:46Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-09-18T07:23:56Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=967866ca2ec7d066e510b287522c8f69de2c3232'/>
<id>urn:sha1:967866ca2ec7d066e510b287522c8f69de2c3232</id>
<content type='text'>
This was a change that was made in the latest revision of the
specification (revision 2). The action port of the file device had
previously reported successes, but it will now report errors instead.
</content>
</entry>
<entry>
<title>Gate gamepad support behind a feature flag</title>
<updated>2025-09-19T00:05:46Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-09-19T00:02:54Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=1836ac3c6b2abd5dce487f1d7589cfe7466c0fd2'/>
<id>urn:sha1:1836ac3c6b2abd5dce487f1d7589cfe7466c0fd2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Invalidate the cached directory in the file device after a duration</title>
<updated>2025-07-08T00:00:23Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-07-08T00:00:02Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=f2bcc24eec84c4632c88b5a35821f7e642d41dc5'/>
<id>urn:sha1:f2bcc24eec84c4632c88b5a35821f7e642d41dc5</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Sandbox the file device</title>
<updated>2025-07-07T09:49:48Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-07-07T09:49:48Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=a702893fd1e1e59b5bfc770c5088120e8c3ece56'/>
<id>urn:sha1:a702893fd1e1e59b5bfc770c5088120e8c3ece56</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fix port mapping for file device</title>
<updated>2025-07-04T10:51:56Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-07-04T10:51:56Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=854ce7bf8c24fac3dc284411e115ddc2413dea69'/>
<id>urn:sha1:854ce7bf8c24fac3dc284411e115ddc2413dea69</id>
<content type='text'>
A mapping used by an older prototype of Bedrock was still in use.
</content>
</entry>
<entry>
<title>Wake the input device when the mouse is scrolled</title>
<updated>2025-07-04T10:50:16Z</updated>
<author>
<name>Ben Bridle</name>
<email>ben@derelict.engineering</email>
</author>
<published>2025-07-04T10:50:00Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=710a8ec8db8435227c924882522c137339288303'/>
<id>urn:sha1:710a8ec8db8435227c924882522c137339288303</id>
<content type='text'>
This was omitted in error.
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2025-07-03T09:24:07Z</updated>
<author>
<name>Ben Bridle</name>
<email>bridle.benjamin@gmail.com</email>
</author>
<published>2025-07-03T03:26:07Z</published>
<link rel='alternate' type='text/html' href='https://code.benbridle.com/bedrock-pc/commit/?id=2accc78948fa4a18e37ab0bc405f9b2758acaa3e'/>
<id>urn:sha1:2accc78948fa4a18e37ab0bc405f9b2758acaa3e</id>
<content type='text'>
</content>
</entry>
</feed>
