• You are not logged in.
  • Index
  • General
  • Is it possible to remap spacebar to double-task as shift?

    Is it possible to remap spacebar to double-task as shift?

    • Started by nikitakit
    • 10 Replies:
    • Reputation: 0
    • Registered: 12-May-2010
    • Posts: 3

    I've recently started to fiddle around with my keyboard layout, trying to make typing more convenient. I'm actually a Dvorak user, but I'm asking my idea here in the hopes that someone will be able to help me out.

    Basically, I would like to try out making space double-task as shift: If I type other keys while it's pressed it capitalizes them, but just tapping it inserts a space.
    E.g. "[press space]h[release space]ello,[press][release][press]i" = "Hello, I"...

    In theory, this would make shift easier to press, and allow moving the alt keys into a more convenient position. However, I don't actually know how convenient it would be - and in order to test that out I first need to figure out how to implement this. I'm using Ubuntu, but the only way I know to remap keys (xmodmap) does not seem to support what I want to do.

    Can anyone here help me out a little bit? Or if any of you think this is a bad idea from the start, please tell me as well. I'd greatly appreciate any help.

    Offline
    • 0
    • Reputation: 0
    • Registered: 05-Jan-2010
    • Posts: 91

    I think it might be a convenient way of shifting, at least with a 105-key laptop keyboard, where both current shifts are kind of hard to press without straining some. Unfortunately I don't know of any layout implementation that'd support this natively, but I suppose the people here knows a little bit more than me on that matter.

    Offline
    • 0
    • Reputation: 0
    • Registered: 17-Mar-2008
    • Posts: 192

    Unfortunately, this seemingly good idea doesn't work out in practice. You'll find that if you type fast enough, bona fide spacebar presses will overlap with other keypresses thus causing inadvertent uppercasing.

    If you are insistent on trying it out, keymaps are not powerful enough. You would have to use a linux equivalent of AutoHotkey.

    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,362

    To make the shift keys more accessible, use a Wide ergonomic mod. That way, your fingers will be one key closer on the right hand (and arguably a bit closer on the left hand on a 105-key/ISO board) to both Shift, Enter and Backspace.

    *** Learn Colemak in 2–5 steps with Tarmak! ***
    *** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

    Offline
    • 0
    • Reputation: 0
    • Registered: 12-May-2010
    • Posts: 1

    I set this up on my work Windows computer a couple of weeks ago with Autohotkey and it works great. Much easier than reaching over for the shift keys.

    I've also been looking for a solution for Linux at home, but haven't found one yet.

    Offline
    • 0
    • Reputation: 0
    • Registered: 12-May-2010
    • Posts: 3

    Thanks for your feedback. Could I ask some of the fast typists around here to do a little test for me? I would like to measure how often you release the spacebar after the first letter of a word (to see if my idea will be viable). For me, that's almost never, but I'm still a pretty slow typist.

    I've made a quick script to track typing events: http://nikitakit.ulmb.com/keyinput.html  If you have the time, could you try typing in it? The top area is for typing text, while the bottom echos all the events - I can look at this data to see any overlaps between key presses and releases.


    EDIT: the old link was http://pastebin.com/p8eRNvpe but downloading is not as convenient

    Last edited by nikitakit (13-May-2010 22:21:54)
    Offline
    • 0
    • Reputation: 0
    • Registered: 17-Mar-2008
    • Posts: 192

    I set this up on my work Windows computer a couple of weeks ago with Autohotkey and it works great. Much easier than reaching over for the shift keys.

    I want to make sure you know that I am not merely speculating; I have in fact tested exactly what you are proposing and it didn't work out for me.

    If some people can make it work then perhaps they are cleaner typists than I am. Potentially, speed may also come into it (I type around 80-90 wpm).

    Offline
    • 0
    • Reputation: 0
    • Registered: 05-Jan-2010
    • Posts: 91
    tomlu said:

    Unfortunately, this seemingly good idea doesn't work out in practice. You'll find that if you type fast enough, bona fide spacebar presses will overlap with other keypresses thus causing inadvertent uppercasing.

    I don't see how that'd be any different from the current shift key. It's exactly the same thing, but with another key. Have you misunderstood something?

    Offline
    • 0
    • Reputation: 0
    • Registered: 17-Mar-2008
    • Posts: 192

    I don't see how that'd be any different from the current shift key. It's exactly the same thing, but with another key. Have you misunderstood something?

    It's different because tapping shift doesn't insert a space character.

    Offline
    • 0
    • Reputation: 0
    • Registered: 05-Jan-2010
    • Posts: 91
    tomlu said:

    I don't see how that'd be any different from the current shift key. It's exactly the same thing, but with another key. Have you misunderstood something?

    It's different because tapping shift doesn't insert a space character.

    But that wasn't the problem in the post i quoted.

    EDIT: Oh, sorry. It was. Just me reading sloppily.

    Last edited by kqr (13-May-2010 10:59:34)
    Offline
    • 0
    • Reputation: 0
    • Registered: 12-May-2010
    • Posts: 3

    tomlu - I trust that you know what you are talking. But while you say that the key presses overlap, I'm wondering if you ever release (not press) the spacebar after you release the first letter of a word. For example, using my script earlier I can get " TH[ ][T]E[H][E]" but never " T[T][ ]H[H]E[E]"  (while typing "the" I always release the space before I release the 't' key). Key releases are not something one typically thinks about, so I hope you don't mind that I'm asking you.

    Last edited by nikitakit (13-May-2010 22:50:12)
    Offline
    • 0
      • Index
      • General
      • Is it possible to remap spacebar to double-task as shift?