• You are not logged in.
  • Index
  • General
  • "Caps Lock" like "Backspace" technikal implementation

    "Caps Lock" like "Backspace" technikal implementation

    • Started by panturion
    • 2 Replies:
    • Reputation: 0
    • From: Ukraine, Donetsk
    • Registered: 05-Jan-2010
    • Posts: 1

    Hello! Please, sorry my terrible English, maybe your Ukrainian more terrible;)

    OK. Several words about situation. I create Ukrainian keyboard layout. Develop is over, but I think, that your idea create from "Caps Lock" "Backspace" it's a great idea, but I don't know how to do it. I find file "Caps to Backspace.reg", but don`t understand line
    hex:00,00,00,00,00,00,00,00,02,00,00,00,0e,00,3a,00,00,00,00,00

    If I want add this function to my keyboard layout, what I must do? Sure, I do this only if will have approve from Colemak author.

    Thanks in advance!

    Offline
    • 0
    • Shai
    • Administrator
    • Reputation: 36
    • Registered: 11-Dec-2005
    • Posts: 423

    You don't need my permission, it is in the public domain, you're free to do whatever you want with it.

    It is based on Scan Code Mapper for Windows, but it might be easier to use utilities linked in the Registry remapping page to generate it.

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

    Privet! :)

    Here is my own RegEdit file:

    REGEDIT4 
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] 
    ; The next line maps RWin <- CapsLock <- BackSpace
    "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,0e,00,3a,00,3a,00,5c,e0,00,00,00,00
    ; The next line remaps only CapsLock <- BackSpace
    ;"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,0e,00,3a,00,00,00,00,00
    ; The next line removes all scancode remappings
    ;"Scancode Map"=-
    
    [HKEY_CURRENT_USER\Keyboard Layout]
    "Scancode Map"=-
    
    ; Numbers are LittleEndian (0x12345678 -> 78,56,34,12)
    ; ---------------------------------------------------------------------
    ; Bytes          Meaning
    ; ---------------------------------------------------------------------
    ; 00 00 00 00    Version info (usually zero)
    ; 00 00 00 00    Flags (usually zero)
    ; 03 00 00 00    # of entries (# of mappings +1 for the terminator)
    ; 0e 00 3a 00    The CapsLock(3a) key now sends a BackSpace(0e) scancode
    ; 3a 00 5c e0    The RWin(e05c)   key now sends a CapsLock(3a)  scancode
    ; 00 00 00 00    Null terminator (always zero)

    As you can see, there are some explanations in there. Hope that helps - if not, ask again!  :)

    Last edited by DreymaR (05-Jan-2010 10:05:06)

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

    Offline
    • 0
      • Index
      • General
      • "Caps Lock" like "Backspace" technikal implementation