Coder Social home page Coder Social logo

martin-stone / touchcursor Goto Github PK

View Code? Open in Web Editor NEW
156.0 156.0 27.0 6.43 MB

A keyboard utility that lets you use the home keys (e.g. JKL) as cursor keys -- in all Windows programs -- keeping your fingers in the best position for fast typing.

Home Page: http://martin-stone.github.io/touchcursor/

License: GNU General Public License v3.0

Batchfile 1.12% Python 0.81% Inno Setup 3.28% C++ 89.98% C 4.80%

touchcursor's People

Contributors

martin-stone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

touchcursor's Issues

TouchCursor doesn't work with the Everything search tool

TouchCursor works with most things, but unfortunately doesn't with Everything, my favourite file search tool. Is there a specific API that must be used so that TouchCursor can intercept keys? If so, I could raise an issue with the developer or possibly try and update the TouchCursor source to support additional APIs.

Whitelist does not work with 64-bit programs

Problem

There's a whitelist configurable in 'TouchCursor Configuration' - 'Programs' - 'Enable only with the following programs'.
64-bit program will not work in this whitelist. ( with the version from http://martin-stone.github.io/touchcursor/download.html)

For example, if I put microsoft Edge(msedge.exe) in this list, TouchCursor is not going to work in Edge.

Solution

After debugging, I found it's because EnumProcessModules (win32funcs.cpp:76) return error 299. Which means it does not work for 64 bit program.
Compile in 64 bit can solve this problem.

Just want to put it here, in case anyone has the same problem.

Execute a program or System Task on command line

Is it possible to run a program or a system command on Windows 10 when a combination is pressed? This would help a lot.
There can be a link to a file/command that a user may want to run when a combination is pressed.
For instance: %windir%\system32\SnippingTool.exe /clip can be assigned to Space+S to activate Snipping tool directly without having to click through the start menu.
Note that I am invoking the tool with arguments.

Run from USB-Stick / portable version?

I found the configuration file is created in a Windows roaming folder. Is there an option to tell touch cursor to use the file from the installation folder to run it as a portable program? Would be sometimes very convenient to be able to do this. :-)

[Enhancement Request] Support for chording

It would be great if TouchCursor would support multiple keys after the trigger key (e.g. Space + A + S + D + F). Of course not all keyboards support chording or they might, but with only certain keys being supported. This would increase the number of easily formed key combinations actionable with minimal or no movement of the fingers off the home row.

Run parallel instances

I wanted to use modifiers apart from space. Using f, j as Ctrl, d, k as Shift, a, l as Alt.
It should be possible by running multiple instances of Touchcursor parallelly. Is it feasible? After combing through issues, I found #7 can be solved using this mechanism.

Stops working (with program still running)

Sometimes when I start my computer TouchCursor either doesn't work or stops working after a while. The program is still running but when I hold space I just get a lot of spaces.

I was first wondering if there was another program interfering but that doesn't seem reasonable to me since it occasionally works.

Using Windows 10, let me know if you need more information.

Mattias Johnson

Combinations with Windows key not working (Windows 10)

First of all, thank you very much for a very nice program.

I have but one issue. If I press Win+Space+L (to move a window to the right of the screen in Windows), Windows 10 will lock the screen, even if Space is kept pressed. This is not a huge issue, but somewhat annoying, as I often use use Win+Arrow Keys to move windows around.

The shortcut for locking the screen is Win+L.

I would rather not change the hotkey for locking the screen, so perhaps you could see if there is a solution to this.

Keyboard rate does not use the FilterKeys setting (>30 keys per second)

Windows keyboard rate setting goes up to ~30 keystrokes repetitions per second. But there is another setting that overrides this behavior and can go up to 100+, by using Filter Keys.

This is controlled by the following registry keys:

[HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Response]
"AutoRepeatDelay"="200"
"AutoRepeatRate"="16"
"DelayBeforeAcceptance"="0"
"Flags"="59"

(AutoRepeatRate here is in ms, which means 1000/16 = 60 keystrokes per second)

More information:
https://superuser.com/a/509811
https://geekhack.org/index.php?topic=41881.0

As far as I understand, this doesn't affect the event rate which touchcursor is receiving the low level keyboard events, therefore if the Filter Keys has been set to 60, then touchcursor repeats at a rate of 30, whereas the rest of the keyboard has a rate of 60.

This is somewhat annoying for people like me who are used to high repeat rates, it's getting difficult to navigate using two separate rates.

Is there a solution to this, so that touchcursor can match the same rate as the Filter Keys setting?

In the past week, has suddenly stopped working. Workaround: Reinstall and works for a while.

I have used this amazing application for years. But in the past week, it has stopped working twice. The app was running and settings correct. I tried opening and closing the app to no avail. Both times, reinstalling fixed the situation.

I recently installed AutoHotKey and have a script that launches at startup, but I do not have any shortcuts that use the spacebar or any similar shortcuts to TouchCursor. Only CTRL+SHIFT+Letter shortcuts.

The time between the failures was about 2 days. It might be relatated to rebooting the computer. I think I rebooted both times before it happened and thinking perhaps it will happen again if I reboot and try it. I will report back.

Thanks.

Use AltGr as an output modifier

Hi

I use a US keyboard with the EurKEY layout. There the right Alt key acts as AltGr to write all letters with diacritics.

This is really nice, except that the right Alt key is a bit awkward to reach on my keyboard. In German, I need the letters ü, ä, ö and ß quite often and this finger acrobatics is a bit challenging. But <Space+u>, <Space+a> and so on is perfect. I added these bindings:

<Space+u> → <Ctrl-Alt-u>
<Space+a> → <Ctrl-Alt-a>
<Space+o> → <Ctrl-Alt-o>
<Space+s> → <Ctrl-Alt-s>

This works in most applications, but in Word and Outlook <Ctrl-Alt-s> has a special meaning. <AltGr-s> works in this case. And in Word, <Ctrl-Alt-u> does nothing?

So is it possible to add AltGr as an output modifier?

Anyway, thanks for this great software.

Multiple activate keys

Hi,

First of all, I got to say I love this program. I've been using it for about 6 years and it greatly improves time and efficiency.

There's one thing though that would improve this program greatly, and I would imagen it's a relatively easy fix - multiple activate keys.

The reason is that I have all the default keybindings (J, K, L, I, U, O etc.) mirrored on the left side of the keyboard (S, D, F, E, W, R), but I would like to easily and practially activate these keybindings on both sides.
Why? Imagen the following use cases:

  • You're reading a long wikipedia article and you would like to use 'Page up' and 'Page down' without moving your hand away from the mouse. You therefore use the left hand to use these keys.
  • You'd like to change parts of the URL. You press Alt + D to get to the URL-field in the browser, but you have no practical way of navigating parts of the url with the left hand, because the arrow keys are on the other side of the keyboard.
  • And many more.

One solution would be using the space bar, however I don't feel this is ergonomic solution, I much more prefer to use the the button on the right side of 'L' (right arrow) (':' on English keyboards, 'ø' on Norwegian keyboards).
The issue is that I can't add another activate key. In this case, the second activate key would be on the left side of 'S' (left arrow), the key 'A'.
Please see the following image for my suggestion of a solution:
touchcursor - enhancement
Only two dropdowns are necessary, as I don't see the purpose of more than two activate keys.

I hope you will implement this suggestion. Thank you.

Is it possible to add multikey binding?

First of all, thanks for your tool. I've been using it for quite a while and frankly can't imagine my work day without it. It helped me from wrist pains almost completely and saves me a ton of hand movements every day I am coding with it.

Now to my question. I am trying to replace some of the functionality that is hard to reach from normal typing position. One of those shortcuts is Alt+Shift+Tab (go through opened windows in backwards direction). Is that possible with the current version of Touch Cursor? If not, is there a technical limitation why not?

Upgrade link not working

When I start TouchCursor, it checks for updates and thinks it has found some. It offers me to open the web page, but that's a SourceForge page, basically telling me 404 Not Found.

Shortcuts, Win10 issues

Dear Martin,

Since there is no way to message you, I can only write here. I use TouchCursor for years, one of the best little stuff in my life. However it lacks some features and have some issues on windows 10 so it would be awesome if you could come back to develop it further :)

  • the exe whitelist/blacklist does not work on win10
  • there are no configurable shortcuts (for example to enable/disable the software)

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.