Skip to content

Commit e4501b9

Browse files
committed
Build 62
1. Implemented a customizable outline/shadow to the hint font for increased readability. 2. Implemented customizable spacing between the hint characters. 3. Added more customization options for the hint box border. <p align="center"> <img src="https://github.com/user-attachments/assets/3d39d518-d0ff-4444-8dd6-d82896e47fe4" style="width: 100%; height: 100%;" /> </p> 4. Made the default configuration (neo-mousekeys.properties) work on most major keyboard layouts without requiring the user to change the configuration file. 5. Implemented a new hint layout, which is now the default. Instead of being laid out in a column fashion, the hints are now laid out in a subgrid which should reduce finger movement even further: <p align="center"> <img src="https://github.com/user-attachments/assets/50a0ba70-b2f0-4275-a135-e0b3be0722f4" style="width: 25%; height: 25%;" /> </p> 6. Added a property for redacting the keys from the logs in the command line window. It can be enabled with: ```properties logging.redact-keys=true ```
1 parent d1bf1ed commit e4501b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>mousemaster</groupId>
77
<artifactId>mousemaster</artifactId>
8-
<version>61</version>
8+
<version>62</version>
99
<name>mousemaster</name>
1010
<!--
1111
See https://graalvm.github.io/native-build-tools/latest/maven-plugin-quickstart.html

src/main/java/mousemaster/WindowsVirtualKey.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,21 +521,21 @@ public static KeyboardLayout activeKeyboardLayout() {
521521
keyboardLayoutSeenCount = 0;
522522
String hwnd = String.format("0x%X", Pointer.nativeValue(
523523
User32.INSTANCE.GetForegroundWindow().getPointer()));
524-
logger.debug("Found foreground window's keyboard layout for hwnd " + hwnd + ": " +
524+
logger.trace("Found foreground window's keyboard layout for hwnd " + hwnd + ": " +
525525
foregroundWindowKeyboardLayout);
526526
}
527527
lastPolledActiveKeyboardLayout = foregroundWindowKeyboardLayout;
528528
return foregroundWindowKeyboardLayout;
529529
}
530530
// When changing the active window, the foreground window may be null for a short period of time (?).
531531
if (lastPolledActiveKeyboardLayout != null) {
532-
logger.debug(
532+
logger.trace(
533533
"Unable to find the foreground window's keyboard layout, using last known keyboard layout " +
534534
lastPolledActiveKeyboardLayout);
535535
return lastPolledActiveKeyboardLayout;
536536
}
537537
KeyboardLayout startupKeyboardLayout = startupKeyboardLayout();
538-
logger.debug(
538+
logger.trace(
539539
"Unable to find the foreground window's keyboard layout, using start up keyboard layout " +
540540
startupKeyboardLayout);
541541
return startupKeyboardLayout;

0 commit comments

Comments
 (0)