Skip to content

Implement INKEY with negative argument#56

Closed
tomm wants to merge 1 commit intobreakintoprogram:mainfrom
tomm:inkey-with-negative-arg
Closed

Implement INKEY with negative argument#56
tomm wants to merge 1 commit intobreakintoprogram:mainfrom
tomm:inkey-with-negative-arg

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