|
| 1 | +# BC64Keys v1.7.0 - Visual Keyboard 🎹 |
| 2 | + |
| 3 | +## What's New |
| 4 | + |
| 5 | +### 🎹 Visual Keyboard |
| 6 | +A brand new interactive on-screen keyboard for selecting target keys! |
| 7 | +- **Click to select** — No need to remember key codes |
| 8 | +- **Special characters made easy** — Find `[]`, `{}`, `$`, `@` and other symbols instantly |
| 9 | +- **Full keyboard layout** — All keys including function keys and navigation keys |
| 10 | +- **Compact design** — Appears on the right side without disrupting the UI |
| 11 | + |
| 12 | +### 🔤 Unicode Character Support |
| 13 | +Send actual characters instead of key codes: |
| 14 | +- **Layout-independent** — Characters are sent directly, regardless of your keyboard layout |
| 15 | +- **Perfect for international users** — No more wrong characters due to layout differences |
| 16 | +- **Example**: Pressing `]` always sends `]`, not `Ő` (Hungarian) or other layout-specific characters |
| 17 | + |
| 18 | +### 🔧 Improved Modifier Handling |
| 19 | +- **Fixed**: Command+Key → Plain Key mappings now work correctly |
| 20 | +- **Example**: `Cmd+R → G` now properly sends `G`, not `Cmd+G` |
| 21 | + |
| 22 | +## Technical Details |
| 23 | + |
| 24 | +### How Unicode Character Sending Works |
| 25 | +When you select a key from the visual keyboard, BC64Keys stores both: |
| 26 | +1. The key code (for backwards compatibility) |
| 27 | +2. The actual Unicode character |
| 28 | + |
| 29 | +When the mapping triggers, it uses `CGEvent.keyboardSetUnicodeString()` to send the actual character, bypassing the keyboard layout entirely. |
| 30 | + |
| 31 | +### Memory & Performance |
| 32 | +- Zero memory leaks — proper cleanup in all `deinit` handlers |
| 33 | +- Thread-safe mapping access in CGEventTap callback |
| 34 | +- Efficient Unicode string handling with UTF-16 conversion |
| 35 | + |
| 36 | +## Download |
| 37 | + |
| 38 | +Choose your preferred format: |
| 39 | + |
| 40 | +### 📦 DMG Installer (Recommended) |
| 41 | +**[BC64Keys-v1.7.0.dmg](https://github.com/badcode64/BC64Keys/releases/download/v1.7.0/BC64Keys-v1.7.0.dmg)** (~2.5 MB) |
| 42 | +- Professional drag-to-Applications installer |
| 43 | +- Easiest installation method |
| 44 | + |
| 45 | +### 📦 ZIP Archive |
| 46 | +**[BC64Keys-v1.7.0-notarized.zip](https://github.com/badcode64/BC64Keys/releases/download/v1.7.0/BC64Keys-v1.7.0-notarized.zip)** (~1.7 MB) |
| 47 | +- Smaller download size |
| 48 | +- Direct app bundle |
| 49 | + |
| 50 | +## Installation |
| 51 | + |
| 52 | +### First-Time Installation |
| 53 | +1. Download and open the DMG file |
| 54 | +2. Drag **BC64Keys.app** to your **Applications** folder |
| 55 | +3. Launch BC64Keys from Applications |
| 56 | +4. Grant **Accessibility permissions** when prompted: |
| 57 | + - System Settings → Privacy & Security → Accessibility |
| 58 | + - Add BC64Keys and enable it |
| 59 | + |
| 60 | +### Updating from Previous Version |
| 61 | +Simply replace the old app with the new one. Your settings and key mappings are preserved. |
| 62 | + |
| 63 | +## System Requirements |
| 64 | +- macOS 13.0 (Ventura) or later |
| 65 | +- Universal Binary: Apple Silicon (M1/M2/M3/M4) and Intel Macs |
| 66 | + |
| 67 | +## Full Changelog |
| 68 | + |
| 69 | +### Added |
| 70 | +- Visual Keyboard for easy target key selection |
| 71 | +- `targetCharacter` field in KeyMappingRule for Unicode support |
| 72 | +- `keyboardSetUnicodeString()` support for sending actual characters |
| 73 | +- Show/Hide Keyboard toggle in Add Mapping sheet |
| 74 | +- Compact keyboard layout with function keys and navigation keys |
| 75 | + |
| 76 | +### Fixed |
| 77 | +- Command+modifier → plain key mappings now clear modifiers correctly |
| 78 | +- Visual keyboard selections now send correct characters regardless of system keyboard layout |
| 79 | + |
| 80 | +### Technical |
| 81 | +- New `VisualKeyboardView` component (~150 lines) |
| 82 | +- New `CompactKeyButton` component |
| 83 | +- Updated `KeyMappingRule` with `targetCharacter: String?` field |
| 84 | +- Enhanced `handleKeyMapping()` with Unicode character injection |
| 85 | +- Dynamic window width (500px → 920px when keyboard visible) |
| 86 | + |
| 87 | +--- |
| 88 | + |
| 89 | +## Need Help? |
| 90 | + |
| 91 | +- 📖 [User Guide](https://github.com/badcode64/BC64Keys/blob/main/README.md) |
| 92 | +- 🐛 [Report Issues](https://github.com/badcode64/BC64Keys/issues) |
| 93 | +- 💬 [Discussions](https://github.com/badcode64/BC64Keys/discussions) |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +## Magyar verzió 🇭🇺 |
| 98 | + |
| 99 | +# BC64Keys v1.7.0 - Vizuális billentyűzet 🎹 |
| 100 | + |
| 101 | +## Újdonságok |
| 102 | + |
| 103 | +### 🎹 Vizuális billentyűzet |
| 104 | +Új interaktív képernyő-billentyűzet a célbillentyűk kiválasztásához! |
| 105 | +- **Kattintással kiválasztható** — Nem kell megjegyezni a billentyűkódokat |
| 106 | +- **Speciális karakterek egyszerűen** — Azonnal megtalálod a `[]`, `{}`, `$`, `@` és más szimbólumokat |
| 107 | +- **Teljes billentyűzetkiosztás** — Minden billentyű, beleértve a funkcióbillentyűket és navigációs gombokat |
| 108 | +- **Kompakt dizájn** — Jobb oldalon jelenik meg, nem zavarja a felületet |
| 109 | + |
| 110 | +### 🔤 Unicode karakter támogatás |
| 111 | +A tényleges karakterek küldése billentyűkódok helyett: |
| 112 | +- **Kiosztás-független** — A karakterek közvetlenül kerülnek elküldésre, függetlenül a billentyűzetkiosztástól |
| 113 | +- **Tökéletes nemzetközi felhasználóknak** — Többé nincs rossz karakter a kiosztás különbségei miatt |
| 114 | +- **Példa**: A `]` lenyomása mindig `]`-t küld, nem `Ő`-t (magyar kiosztáson) |
| 115 | + |
| 116 | +### 🔧 Javított módosítóbillentyű-kezelés |
| 117 | +- **Javítva**: Command+Billentyű → Sima billentyű leképezések most helyesen működnek |
| 118 | +- **Példa**: `Cmd+R → G` most helyesen küld `G`-t, nem `Cmd+G`-t |
0 commit comments