Skip to content

Commit

Permalink
Remove modifiers from KeyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
morphx666 committed Apr 10, 2024
1 parent 123daa3 commit bd4edc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x8086NetEmu/Adapters/Adapter.vb
Expand Up @@ -257,7 +257,7 @@
Public SuppressKeyPress As Boolean

Public Sub New(keyValue As Integer, modifiers As Integer)
Me.KeyValue = keyValue
Me.KeyValue = keyValue And (Not modifiers)
Me.Modifiers = modifiers
Me.Alt = (modifiers And Keys.Alt) = Keys.Alt
Me.Control = (modifiers And Keys.Control) = Keys.Control
Expand Down

0 comments on commit bd4edc1

Please sign in to comment.