Skip to content

Conversation

@IDisposable
Copy link
Contributor

Cleaned up the paste modal code.

Make it so you just add one line for a new keyboard layout and update the list of keyboards.

Made each layout have it's isoCode and name bundled with the paste characters map.

@IDisposable IDisposable force-pushed the refactor/keyboard-layouts branch 3 times, most recently from 3ea45bb to dcdb2ab Compare May 28, 2025 21:42
@IDisposable IDisposable marked this pull request as draft May 28, 2025 22:07
@IDisposable
Copy link
Contributor Author

Resolving merge issues

@IDisposable IDisposable force-pushed the refactor/keyboard-layouts branch from dcdb2ab to d19b4b3 Compare May 28, 2025 22:11
@IDisposable
Copy link
Contributor Author

Merge issues resolved, sorry about that.

@IDisposable IDisposable marked this pull request as ready for review May 28, 2025 22:11
@IDisposable IDisposable force-pushed the refactor/keyboard-layouts branch 2 times, most recently from d945649 to 9df1bdf Compare May 30, 2025 16:16
Add missing keyboard mappings for most layouts
Change  pasteModel.tsx to use the new structure and vastly clarified the way that keys are emitted.
Make each layout export just the KeyboardLayout object (which is a package of isoCode, name, and chars)
Made keyboardLayouts.ts export a function to select keyboard by `isoCode`, export the keyboards as label . value pairs (for a select list) and the list of keyboards.
Changed devices.$id.settings.keyboard.tsx use the exported keyboard option list.
@Hooper23
Copy link

Hooper23 commented Jul 3, 2025

@ym I hope this could be merged soon to fix the paste functiona and random keystrokes

@Hooper23
Copy link

@ym Can you please look into this?

@adamshiervani adamshiervani merged commit 5fb8d86 into jetkvm:dev Jul 11, 2025
1 of 2 checks passed
@IDisposable IDisposable deleted the refactor/keyboard-layouts branch July 11, 2025 17:12
adammkelly pushed a commit to adammkelly/kvm that referenced this pull request Jul 15, 2025
Add missing keyboard mappings for most layouts
Change  pasteModel.tsx to use the new structure and vastly clarified the way that keys are emitted.
Make each layout export just the KeyboardLayout object (which is a package of isoCode, name, and chars)
Made keyboardLayouts.ts export a function to select keyboard by `isoCode`, export the keyboards as label . value pairs (for a select list) and the list of keyboards.
Changed devices.$id.settings.keyboard.tsx use the exported keyboard option list.
adammkelly pushed a commit to adammkelly/kvm that referenced this pull request Jul 15, 2025
Add missing keyboard mappings for most layouts
Change  pasteModel.tsx to use the new structure and vastly clarified the way that keys are emitted.
Make each layout export just the KeyboardLayout object (which is a package of isoCode, name, and chars)
Made keyboardLayouts.ts export a function to select keyboard by `isoCode`, export the keyboards as label . value pairs (for a select list) and the list of keyboards.
Changed devices.$id.settings.keyboard.tsx use the exported keyboard option list.
ym pushed a commit to ym/jetkvm-kvm that referenced this pull request Sep 26, 2025
Add missing keyboard mappings for most layouts
Change  pasteModel.tsx to use the new structure and vastly clarified the way that keys are emitted.
Make each layout export just the KeyboardLayout object (which is a package of isoCode, name, and chars)
Made keyboardLayouts.ts export a function to select keyboard by `isoCode`, export the keyboards as label . value pairs (for a select list) and the list of keyboards.
Changed devices.$id.settings.keyboard.tsx use the exported keyboard option list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants