GithubHelp home page GithubHelp logo

capsmap's Introduction

capsmap - DOS TSR for remapping caps lock

Author: John Tsiombikas [email protected]
This program is placed in the public domain. Do whatever you like with it.

Capsmap is a DOS Terminate and Stay Resident program, for remapping caps lock to any other key. It does this by taking control of the keyboard interrupt, and either modifying the BIOS keyboard flag bytes (for modifier keys), or appending scancodes to the BIOS keyboard buffer, when it detects a caps lock press/release. This remapping trick will work for most DOS programs which use either BIOS or DOS calls to get keyboard input. It will not work however for any programs which access the keyboard directly, like most games.

Two pre-built versions of the caps mapper are provided in the release archive.

  • capsmap.com maps caps lock to the left control key.
  • capsesc.com maps caps lock to the escape key.

If you wish to map caps lock to something else, you need to rebuild the program after changing a couple of definitions in the top of capsmap.asm, following the instructions in the comments. To figure out which scancode number to set in the code, use the accompanying testkeys.com program.

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.