Skip to content

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

Open
ludolpif wants to merge 2 commits intotechpaul:masterfrom
ludolpif:fix-pause-key
Open

Fix PS2_KEY_PAUSE value (my attempt without having v1.0.10)#37
ludolpif wants to merge 2 commits intotechpaul:masterfrom
ludolpif:fix-pause-key

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