Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement INKEY with negative argument #56

Closed
wants to merge 1 commit into from

Conversation

tomm
Copy link

@tomm tomm commented Jul 1, 2023

INKEY with a negative argument tests if the given fabgl virtual key is currently held down. This is done with a keyboard state map maintained using an experimental mos_setkbvector OS call. (https://github.com/tomm/agon-mos/tree/mos_setkbvector)

INKEY with a negative argument tests if the given fabgl virtual key
(-arg) is currently held down. This is done with a keyboard state
map maintained using an experimental mos_setkbvector OS call.
(https://github.com/tomm/agon-mos/tree/mos_setkbvector)
@tomm
Copy link
Author

tomm commented Jul 1, 2023

Corresponding MOS PR: breakintoprogram/agon-mos#73

@breakintoprogram breakintoprogram added the bug Something isn't working label Jul 8, 2023
@tomm
Copy link
Author

tomm commented Jul 24, 2023

@breakintoprogram If there's interest in this PR (and the MOS prerequisite), I could modify it a little to use a 32-byte keyboard state map of boolean bitfields, instead of 256 bytes, which is a bit bloated.

@breakintoprogram
Copy link
Owner

Hi @tomm I've ended up with a slightly different method. Whilst I'm closing this, I'll still credit you in the release notes as our ideas are essentially the same.

@breakintoprogram breakintoprogram added enhancement New feature or request and removed bug Something isn't working labels Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

2 participants