Skip to content

Fix PS2_KEY_PAUSE value (my attempt without having v1.0.10) #37

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ludolpif
Copy link

@ludolpif ludolpif commented May 1, 2025

Hi,
Here my attempt to fix PS2_KEY_PAUSE returned value (was : 0x6 instead of 0x5) to address issues #35, #26, #5.

I checked that, in translate(), variable data equals to 0x77 when processing the Pause/break key special case, so it seems that there is no side effect of move the code section near the if ( ... & _E1_MODE ) case, that is after the

if( ( data >= PS2_KC_BAT && data != PS2_KC_LANG1 && data != PS2_KC_LANG2 )
check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant