Yes, if I release the key under e.g. 500 Milliseconds, it would be the lower case letter, if I hold it 500 ms and more, it would return a Upper case (shifted) letter. So it would need a »timer« to count from pressed key to released. if >500 ms, it should send an ASCI
example uppercase A = DECIMAL code 65 lowercase a = DECIMAL code 97 Difference between lowercase and uppercase is 32 subtract 32 from the Ascii Letter Code and you get the Uppercase (= shift) Version. Would this work? Thomas > > Not at all. A keyboard driver is going to know when a key is released, as > well as when it's pressed. Nothing preventing it from operating normally > when it's released fast enough, and only shifting the character if it isn't > released in the alotted time. It doesn't restrict typing speed in the least > (with the exception of course of making the capital letters.). > > I've never tested it, but if you have key repeat turned off, then it's likely > the character doesn't appear until you release the key anyhow, so ... <shrug> > _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user