-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP #12, etc.: duplicate + reserved keys, improve key event handling
- Centralize key event dispatch. The J3D window was stealing focus so while mouse events went to it (based on coordinates presumably), key events were not. I made it not focusable and send key events out from UserInterfaceFrame (just to itself and to the sliders). - Disallow overriding reserved keys - Disallow duplicate key bindings - Enforce that custom key bindings which override defaults also specify a new value for the overriden default key - Document some of the above (still need reserved key documentation)
- Loading branch information
1 parent
0262dbc
commit 35cd4b4
Showing
7 changed files
with
174 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
TORPEDOES F1 2 | ||
BeAMS Control ALT | ||
IMPULSE MinUS eqUaLs | ||
TORPEDOES F1 A | ||
BEAMS F4 F5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.