Jump to content

[BugReport] Issue with Windows Key [SOLVED]


Recommended Posts

  • 4 months later...

Firmware is not responsible for keycodes, check the encoder source.

The Windows Key is special with 2x codes:

0xe3 - when used on its own (GUI) from keyboard.properities - key_left_gui

0x08 - when used as a modifier (eg. GUI-R) from keyboard.properities - modifierkey_left_gui

UPDATE:

Looks like it was the encoder, updated to version 2.2 as download and svn.

Please continue testing. There may be more bugs

this GUI thing is strange sometimes it works sometimes it doesnt????

Example:

DELAY 5000
WINDOWS
DELAY 500
GUI
DELAY 500
GUI R
STRING did you see GUI first?
DELAY 1000[/CODE]

Edited by midnitesnake
Link to comment
Share on other sites

yes midnite snake i did what you said and that worked.


the workaround to make GUI command work:
(you have to add both WINDOWS and GUI to duck script)

DELAY 5000
ESC
DELAY 500
WINDOWS
DELAY 500
GUI

the other GUI commands GUI r , GUI l are working normally though without the need to do this.

Edited by midnitesnake
Corrected Formatting
Link to comment
Share on other sites

That's weird...

In the code if the modifier is alone it types the key.

You can try "LEFT_GUI" or "RIGHT_GUI" to use directly the key.

In fact WINDOWS and GUI have the same code (It's to be compatible with the encoder v1).

if (instruction[0].equals("WINDOWS") || instruction[0].equals("GUI"))

Perhaps GUI GUI can do the trick.

I found a bug in strInstrToByte

        if(instruction.equals("WINDOWS"))
            return strInstrToByte("GUI");

Should be

        if(instruction.equals("WINDOWS"))
            return strInstrToByte("LEFT_GUI");

It's only activated when the instruction is CTRL WINDOWS for example. Not sure that it ever happens.

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...