Jump to content

ALT F4 / ALT SPACE not working


Recommended Posts

Which encoder are you using? There has been (or still is) problems with the jsencoder for some key combos. These problems aren't showing up when using the java based encoder. That's why I'm asking about which encoder you are using to be able to narrow it all down. There are adjustments possible if using the jsencoder that might help.

Link to comment
Share on other sites

If you are using jsencoder you need to mod it a little. you need to change it
from:

let key = args[0];  

should be line 440
change it to

let key = args;
let regex = new RegExp('(CONTROL|CTRL|SHIFT|ALT|GUI|WINDOWS|COMMAND)');
if (regex.test(args))
{
  key = args[0];
}

it was written to take the first letter which means the F keys, ENTER etc don't work.
if it was to stop people using multiply modifier keys.

Link to comment
Share on other sites

On 1/26/2022 at 1:30 AM, dark_pyrro said:

Which encoder are you using? There has been (or still is) problems with the jsencoder for some key combos. These problems aren't showing up when using the java based encoder. That's why I'm asking about which encoder you are using to be able to narrow it all down. There are adjustments possible if using the jsencoder that might help.

I'm using Circuit Python on a Raspberry Pi Pico (https://github.com/dbisu/pico-ducky) so I don't need to encode. It must be something with the pico-ducky code and not the Ducky language. Thank you for pointing me in the right direction!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...