Giter VIP home page Giter VIP logo

uncap's Issues

Can't map extended keys (0xB4)

I ran uncap like this and it doesn't map the mail (0xB4) key to escape, nor the media select key (0xB5):

uncap -d 0xB4:0x1B 0xB5:0x1B 0x14:0x1B
KEYUP      -   -   -   UP   28  13 (RETURN)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    -   -   -   -    58  20 (0x14)
KEYDOWN    -   INJ -   -     0  27 (0x1B)
KEYUP      -   -   -   UP   58  20 (0x14)
KEYUP      -   INJ -   UP    0  27 (0x1B)
KEYDOWN    EXT INJ -   -     0 180 (0xB4)
KEYUP      EXT INJ -   UP    0 180 (0xB4)
KEYDOWN    EXT INJ -   -     0 181 (0xB5)
KEYUP      EXT INJ -   UP    0 181 (0xB5)
KEYDOWN    EXT INJ -   -     0 181 (0xB5)
KEYUP      EXT INJ -   UP    0 181 (0xB5)
KEYDOWN    EXT INJ -   -     0 181 (0xB5)
KEYUP      EXT INJ -   UP    0 181 (0xB5)
KEYDOWN    EXT INJ -   -     0 180 (0xB4)
KEYUP      EXT INJ -   UP    0 180 (0xB4)
KEYDOWN    EXT INJ -   -     0 180 (0xB4)
KEYUP      EXT INJ -   UP    0 180 (0xB4)

Stuck in capslock

Capslock was on when I ran uncap.exe.

NOW I'M STUCK WITH CAPSLOCK

Combo?

Hi

Can you please tell me how i can do combo assignment? For instance, Capslock to Win+F11 or so.

thanks

Stops working after a while (process still running)

Hi.
I'm using a .bat script in shell:startup to launch uncap to remap some keys on every boot, like so:
> uncap 0x91:0x14
For some time now, after working just fine for a while (hours), the remapping will altogether stop working. If I open task manager I can see the uncap.exe process is still there, so it's not that the process died.
If I manually relaunch this .bat script, the new process will sit right there with the old one in task manager, and everything will go back to working again for a few hours (the amount of time it'll work for doesn't feel particularly consistent).

I basically never turn off my computer completely, only putting it on standby when the day is over. Could that have anything to do with it? I've been using uncap for years now but I never noticed this until somewhat recently.. This is on my Windows 10 desktop, I also use it on a laptop and another desktop at work and I don't think I've ever seen this behaviour in any of those.

I'm a power user so I don't mind delving into the registry or even attaching my debugger to the running process to figure out what may be happening.. any ideas?

Running uncap.exe actively closes my CMD shell

It's understood that, in the absence of the -c parameter, uncap.exe runs in the background, i.e. has no visible output. I can run it via "WIN-R uncap.exe" and it behaves as expected.

When invoked from the command line, however (i.e. an instance of CMD.exe already running) uncap.exe will not only run and close itself but the window from which it was called as well, meaning I have to rerun CMD.exe to continue working on the command line. Is that expected behavior?

Windows 10: Output window is displayed

Hi!

Thanks for creating this utility! Sadly it appears that whenever I am running Uncap, an Output window appears as seen in this screenshot. Do you know what could be the issue?

Windows Version: Windows 10 Pro | 1709 | 16299.402
Uncap Version: 0.2.2

Automatic run at Windows start-up?

Thank you for this package! This is the simple solution I needed.

Right now I'm putting uncap.exe under my Program Files in C Drive, and whenever I restart Windows I'll have to navigate to the exe file and click to start uncap in the background.
Is there a way to have uncap.exe automatically start running? I'm rather a new Windows user, apologies if this is a rather trivial question.

[Beginner] How do I stop Uncap?

Thank you for this package! As a new windows user, I'd like to know what's the suggested way to stop uncap.exe if I ever need to?
Any help would be appreciated, thanks in advance.

Cannot Map Ctrl to Esc

Hey there, thanks for creating this!

I'm having trouble running the following command:
uncap 0x1B:0x14 0x14:0x11 0x11:0x1B

Which should do the following:

  • Bind CAPS to CTRL
  • Bind ESC to CAPS
  • BIND CTRL to ESC

The last one does NOT work.
CAPS successfully acts as CTRL, ESC successfully acts as CAPS.
but CTRL continues to be CTRL.

Any idea how I could fix that?

Feature Request: delayed mapping/map timeout

On my Linux setup, specially with vim/neovim, I have:

  • CapsLock and L Control keys swapped;
  • If CapsLock (physical key location) is pressed for less than ~300ms, then it is not mapped to L Control, but to Escape instead.

Or, in other words:

  • L Ctrl maps to CapsLock
  • CapsLock maps to:
    • L Ctrl if pressed for longer than 300ms;
    • Escape otherwise.

This allows me to quickly enter normal mode (nvim), cancel things, etc., with little movement from my left hand (and since a lot of keyboard shortcuts use Ctrl key, it is very useful to have Escape in the same place). Having this on Windows as well would be an awesome Windows experience.

Works strange in remote desktop

Hi, I am switching keys ESC and Caps with uncap 0x1b:0x14 on my local machine (Windows 10), but in my remote desktop (Windows 10), when I press the physical Caps key, I get the behavior of ESC and Caps at the same time. Is there a workaround for this issue?

Breaks in video games

I use this program to swap esc and caps lock and left control with left alt:

uncap.exe 0x14:0x1B 0x1B:0x14 0xA2:0xA4 0xA4:0xA2

But inside of video games neither key works. Pressing neither caps lock nor esc brings up the menu.

At least in my case it would be okay if the program didn't work in video games, that is the keys performed their original function. But it seems to break the keys all together.

Any ideas about why that is or how to work around it? If you have any ideas I'll look into fixing it and make a pull request.

Question โ‰: How to permenately `uncap`, run at startup

I managed to swap my CAPS and ESC using these commands

uncap
uncap 0x1b:0x14

But when I restart Windows they aren't swapped anymore. How can I permanently swap these two keys? You may put this in the REAME.md. If it is already explained in the readme file I think you should make it more clear.

Version 0.3.0 doesn't work with Logitech Options 'Advanced Click'

Uncap version 0.3.0
Ran as Win+R : uncap 0x14:0xa2 0xa2:0x14 (swap caps lock and left control)

In Logitech Options, setting a button as Advanced Click; Single click + 'CTRL' modifer, the advanced click is not registering the CTRL modifier, and fires as a regular click.

This was working as expected in the previous release 0.2.2

ps. thanks for the great software that doesn't require admin

Thank you!

I just wanted to say thanks for the wonderful software. I really like that the tool doesn't need admin rights or a reboot, so it is quite portable. I have to switch between macOS, Windows and Linux fairly often and Uncap makes the Windows usage much less painful.

Uncap but unnum - a request for a favour

I love the idea and execution of this little tool! It works great on my work laptop, however what would really be amazing is have the same thing but mapping Numlock to literally anything else. Shift or Ctrl for instance. I can't seem to remap anything using uncap unfortunately, I can't save the file in C:/Program Files as I don't have admin permissions. It also runs with the command prompt open and no inputs are recognised when I try to do anything at all.

I'm not great with programming so I would be forever grateful if someone could re-write uncap to do re-map Numlock to Ctrl or Shift by default, as my work machine prevents me from doing just about anything, but uncap seems to work fine from the downloads folder. Thank you in advance for any help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.