Changed keybinds for hopefully better cross-platform compatibility.
This commit is contained in:
parent
62fbb9e9fc
commit
7692ade2e5
@ -295,10 +295,10 @@ public class PlayerGUI extends JPanel implements PlayerCallbackInterface {
|
|||||||
|
|
||||||
private class GlobalKeyboardShortcuts implements NativeKeyListener {
|
private class GlobalKeyboardShortcuts implements NativeKeyListener {
|
||||||
boolean modified = false;
|
boolean modified = false;
|
||||||
final int playPause = 192;
|
final int playPause = NativeKeyEvent.VC_QUOTE;
|
||||||
final int stop = 222;
|
final int stop = NativeKeyEvent.VC_BACK_SLASH;
|
||||||
final int previous = 219;
|
final int previous = NativeKeyEvent.VC_OPEN_BRACKET;
|
||||||
final int next = 221;
|
final int next = NativeKeyEvent.VC_CLOSE_BRACKET;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void nativeKeyPressed(NativeKeyEvent nativeKeyEvent) {
|
public void nativeKeyPressed(NativeKeyEvent nativeKeyEvent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user