Skip to content

Fix Linux Key Events#7

Open
JetStarBlues wants to merge 1 commit intoCTurt:masterfrom
JetStarBlues:master
Open

Fix Linux Key Events#7
JetStarBlues wants to merge 1 commit intoCTurt:masterfrom
JetStarBlues:master

Conversation

@JetStarBlues
Copy link

Fixes the following issues:

  1. Add KeyReleaseMask to the event mask so that key releases can be detected
  2. Since a value of 0 indicates that a button is pressed in the Game Boy, change the "set button state" logic to ( xev.type == KeyPress ) ? 0 : 1
  3. Use key symbols instead of key codes for more portable key detection

A previous pull request has been made for this issue (a319a7c). It addresses issues 1 and 2 with a slightly different approach.

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

Comments