Skip to content

Implement webcam switching and shortcut disable feature - #6

Merged
RylanBot merged 3 commits into
RylanBot:mainfrom
Levosilimo:main
Mar 17, 2024
Merged

RylanBot merged 3 commits into
RylanBot:mainfrom
Levosilimo:main

Conversation

@Levosilimo

Copy link
Copy Markdown
Contributor

Fixed a bug related to the keyboard layout. Previously, the shortcut key combination was set using event.key from the Keyboard Event, which returns the character generated by pressing the key. I replaced this with processing event.code, which isn't altered by the keyboard layout or the state of the modifier keys. One known bug that persists is that the robotjs library doesn't process keys correctly when any keyboard layout other than English QWERTY is set for the Electron process.

@RylanBot

RylanBot commented Mar 14, 2024 •

Copy link
Copy Markdown
Owner

Thanks, bro. What you've done is really cool, but I need to make some adjustments to your code before merging this PR, probably in the next few days.

@RylanBot
RylanBot force-pushed the main branch 2 times, most recently from bf2c753 to c35179b Compare March 17, 2024 11:29
@RylanBot
RylanBot merged commit aa31031 into RylanBot:main Mar 17, 2024
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.

2 participants