Skip to content

Commit

Permalink
Index/Scancode Fixes (#34)
Browse files Browse the repository at this point in the history
- Fixes a bug where the Del key was not remappable on Air75.
- Fixes scancode for Pause/Break key.
- Adds scancode for Menu key.
  • Loading branch information
donn authored Feb 18, 2023
1 parent 64f23a8 commit 1c15be8
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ jobs:
with:
tag_name: ${{ env.NEW_TAG }}
body: |
Changelog: https://github.com/donn/nudelta/blob/main/Changelog.md
![Screencap](https://raw.githubusercontent.com/donn/nudelta/main/res/screencap.png)
A Windows `.exe`, a macOS `.app` and a Linux `.AppImage` have all been built.
Expand Down
50 changes: 50 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 0.6.6
- Fixes a bug where the Del key was not remappable on Air75.
- Fixes scancode for Pause/Break key.
- Adds scancode for Menu key.

# 0.6.5
- Fixes a bug with accessing the clipboard on Linux.

# 0.6.3, 0.6.4
- Fixes a bug with the Halo75 where Windows and Mac modes have been switched around.

# 0.6.2
- Fixes detecting the Halo75.

# 0.6.1
- Numerous critical bugfixes and better handling for unrecognized keyboards.
- Update build system to fix odd Windows 11 bug.

# 0.6.0 (Unpublished)
- Adds support for Halo75.
- CLI now remaps Windows and Mac modes simultaneously.

# 0.5.1
- The Fn key is now remappable, however, in the GUI, you will be required to click on the Fn key five times in a row before this is enabled. Remapping the Fn key will change your factory reset shortcut and thus is only advised if you absolutely know what you're doing.

# 0.5.0
- Adds support for Windows 10+, as well as adding Windows builds to CI.
- Fixes a number of bugs and memory errors.

# 0.4.1
- UI tweaks and lint fixes.

# 0.4.0
- Allows remapping the Mac mode of the Air75.

# 0.3.1
- Tweaks build system.

# 0.3.0
- Adds an Electron-based GUI
- Adds a CI with macOS `.app` and Linux `AppImage` releases.

# 0.2.0
- Adds the ability to remap select keys on the (limited) Fn layer in the CLI app
- Added remap targets for functions handled by the Fn-layer: changing backlight brightness, etc.
- Adds support for a "raw" keycode specifier in remapping yaml files.
- Adds some more findings to documentation.

# 0.1.0
Initial release. CLI-only app with remapping for Air75's Windows mode.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nudelta",
"author": "Mohamed Gaber <me@donn.website>",
"version": "0.6.5",
"version": "0.6.6",
"license": "GPL-3.0-or-later",
"homepage": "https://github.com/donn/nudelta#readme",
"description": "An open-source alternative to the NuPhy Console",
Expand Down Expand Up @@ -76,4 +76,4 @@
"tabWidth": 4,
"quoteProps": "consistent"
}
}
}
2 changes: 1 addition & 1 deletion res/Air75/indices_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ space: 35
backspace: 79

esc: 0
del: 209
del: 161

grave: 1
num1: 145
Expand Down
2 changes: 1 addition & 1 deletion res/Air75/indices_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ space: 35
backspace: 79

esc: 0
del: 209
del: 161

grave: 1
num1: 145
Expand Down
3 changes: 2 additions & 1 deletion res/NuPhy/keycodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ fn: 0x00000020

sysrq: 0x46000000
scrolllock: 0x47000000
pausebreak: 0x480000
pausebreak: 0x48000000
ins: 0x49000000
home: 0x4a000000
pgup: 0x4b000000
del: 0x4c000000
end: 0x4d000000
pgdn: 0x4e000000
menu: 0x65000000

enter: 0x28000000
tab: 0x2b000000
Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ with pkgs; (mkShell.override { stdenv = clangStdenv; }) {
gnumake
libusb
pkg-config
electron
];
}

0 comments on commit 1c15be8

Please sign in to comment.