geekhack

geekhack Community => Keyboards => Topic started by: dnLL on Fri, 02 March 2012, 12:57:13

Title: asasasas instead of assssss
Post by: dnLL on Fri, 02 March 2012, 12:57:13
hi there,

just a quick question, I've seen in a review (don't remember which one, it was on the Steelseries 7G I think) that when pressing two letters at the same time in Windows (for example A and S), it would register ASASASASAS instead of the habitual ASSSSSSS. is this possible? is it hardware or software dependant? if it's OS dependant, can we change that behavior?

when I'm gaming, if I'm pressing two keys like A and S, both keys register simultaneously and both will stay activated until I release the keys. however in Windows, only the last stroke seems to be used.
Title: asasasas instead of assssss
Post by: asdf on Fri, 02 March 2012, 13:42:15
it's asasasasasasasasasasasasasasasasasasasasasas*, you're just not pressing them at the same time
*pressed with a $12 rubber dome keyboard (windows 7)
Title: asasasas instead of assssss
Post by: Soarer on Fri, 02 March 2012, 13:42:20
Sounds like a keyboard with a dodgy NKRO implementation, which may only screw up on certain OS (usually Macs).
Title: asasasas instead of assssss
Post by: Soarer on Fri, 02 March 2012, 13:45:12
Quote from: asdf;533260
it's asasasasasasasasasasasasasasasasasasasasasas*, you're just not pressing them at the same time
*pressed with a $12 rubber dome keyboard (windows 7)

Really? I can't be asasased right now to boot into Win7 and try stuff out, but that sounds like a Win7 HID bug :-/
Title: asasasas instead of assssss
Post by: dnLL on Fri, 02 March 2012, 13:47:05
so it isn't normal and not supposed to be "asasasas". my Leopold does (as all keyboard i've ever tried) "asssss"
Title: asasasas instead of assssss
Post by: Soarer on Fri, 02 March 2012, 13:48:50
Quote from: Soarer;533263
Really? I can't be asasased right now to boot into Win7 and try stuff out, but that sounds like a Win7 HID bug :-/

He's right ya know, and it happens on XP too. Dunno how I hadn't noticed that before!
Title: asasasas instead of assssss
Post by: laffindude on Fri, 02 March 2012, 13:50:27
asdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfh < 6 keys pressed at the same time
asdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgfasdgf <5
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf <4
asdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasd <3
asasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasas <2

Win7 Filco. Odd that f and g is swapped. Seems like rt and vb is both swapped too. However, 45 is not swapped.
Title: asasasas instead of assssss
Post by: ryan92084 on Fri, 02 March 2012, 14:06:05
adsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfhadsgfh

6key hah
Title: asasasas instead of assssss
Post by: Soarer on Fri, 02 March 2012, 15:03:54
Quote from: ripster;533273
saaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

assssssssssssssssssssssssssssssssssss

assssssssssssssssssssssssssssssssss
asasasasasasasasasasasasasasasasasasasasasas

Lol.

ahhhhhhhh hahahahaha
Title: asasasas instead of assssss
Post by: reaper on Fri, 02 March 2012, 15:04:54
That's a lot of asses there.
Title: asasasas instead of assssss
Post by: IvanIvanovich on Fri, 02 March 2012, 16:03:29
asasasasasasasasasasasasas
wdwdwdwdwdwdwdwdwdwd
klklklklklklklklklklklklklklklklklkl
opopopopopopopopopopop
fgfgfgfgfgfgfgfgfgfgfgfg
vbvbvbvbvbvbvbvbvbvb
4545454545454545454545
< result on Poker Windows 7.
Title: asasasas instead of assssss
Post by: Awful on Fri, 02 March 2012, 16:50:02
assssssssssssssssssssssssssssssss
asssssssssssssssssssssssssssssss
asssssssssssssssssssssssssssssss
afdsssssssssssssssssssssssssss

I can't get alternating keys to happen Filco on win7
Title: asasasas instead of assssss
Post by: Soarer on Fri, 02 March 2012, 17:13:10
Quote from: Awful;533402
I can't get alternating keys to happen Filco on win7

Awwwwwww!

Well, it could be prevented by the controller firmware... I'm not sure how they structure the dual mode (PS/2 and USB) stuff... if they queue changes as they would for PS/2, even when outputting to USB, I guess this effect wouldn't happen.

A keyboard might do that anyway, even if not dual mode, but it's unlikely unless they see this as a problem and are specifically trying to fix it.
Title: asasasas instead of assssss
Post by: alaricljs on Fri, 02 March 2012, 17:19:17
Quote from: Awful;533402
I can't get alternating keys to happen Filco on win7


87 or 104key?  PS/2 or USB... cuz I think you're doing it wrong...

asdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasd   <--- Filco 87key, win7
Title: asasasas instead of assssss
Post by: Bry on Fri, 02 March 2012, 18:42:48
lolololololololololololololololololololololololololololololololololololololo
Title: asasasas instead of assssss
Post by: dnLL on Fri, 02 March 2012, 20:15:46
Tkl Leopold for me, ps/2. What's better and why? How can we change that? And why isn't it standard for all keyboards? lol
Title: asasasas instead of assssss
Post by: kdash4 on Fri, 02 March 2012, 20:49:00
asasasasasasasasasasasasasasasasasasasasasasasasasasasasasasas
assssssssssssssssssssssssssssssssssssssssssssssssssssss
asasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasasas
Title: asasasas instead of assssss
Post by: dnLL on Fri, 02 March 2012, 22:08:57
not really helpful...
how can we get alternate keys??
Title: asasasas instead of assssss
Post by: alaricljs on Fri, 02 March 2012, 22:44:41
Quote from: dnLL;533528
Tkl Leopold for me, ps/2. What's better and why? How can we change that? And why isn't it standard for all keyboards? lol

You need to ask a more complete question.  Personally Filco is better than Leopold, I don't like cherry stabilizers all that much.  I prefer USB because I can hot-plug it and it does everything else I need for a keyboard.

I don't know what it is you want to change, and don't know what it is that isn't standard for all keyboards.

Quote from: dnLL;533604
how can we get alternate keys??

I thought that was already explained.  If you have a USB keyboard plugged into a Windows system you press a combination of keys simultaneously: asdasdasdasdasdasdasdasd  If I hold 1 key and then add another key to it you get: assssss

So um... now that you invoked my pedantry, can we get back to entertaining ourselves with lolololololololololololololo and derpderpderpderpderpderpderpderpderpderpderpderpderpderpderpderp
Title: asasasas instead of assssss
Post by: Soarer on Sat, 03 March 2012, 06:17:05
trolllllllllllllllllllllllllllllllllllllllllllllllllllll
trolllllllllllllllllllllllllllllllllllllllll
trololololololololololololololololololololololololol
Title: asasasas instead of assssss
Post by: captain on Sat, 03 March 2012, 06:36:08
Well, I was out with Rebecca yesterday on my mobile device (ruinig fora for ripster all across the Interwebz) just Kickin’ in the front seat
Sittin’ in the back seat, when I held down six keys and got:

FRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAYFRIDAY
Title: asasasas instead of assssss
Post by: captain on Sat, 03 March 2012, 07:05:35
But seriously, isn't this related to the OS's keyboard settings, not the keyboard?  I recall there being a "repeat rate" that can be set in the OS to decipher a held key as a series of key strokes.  What exactly are the semaphores sent down the USB cable?  Is it like MIDI, where you have "note on" and "note off"?  

I may be confused now, as I was under the impression that Cherry MX switches were SPST NO, so as long as you hold the switch down it is in Closed state.  Then the matrix is polled at a certain rate by the controller, and the controller determines whether or not the key is "bouncing" or in a certain state, and "corrects" for that.  Then the controller sends some kind of keycode signal out the USB cable.  We should have teensy manuals.  What does the Teensy do?
Title: asasasas instead of assssss
Post by: Soarer on Sat, 03 March 2012, 07:49:55
A USB keyboard sends the current state of all keys (ignoring the 6KRO limitation, it's not relevant to this) in each packet it sends to the host.

So the host can get a packet with no keys pressed, and the next can have two (or more) pressed.

Then, yes, it's the OS doing the key repeat. I don't think it's part of the HID spec, so I guess there's no real documentation on how it should behave. Clearly though, the intention is to act like a PS/2 keyboard, and repeat the last key pressed.

I'd call it a bug, however minor and irrelevant. The OS has already made a (completely arbitrary) choice of which key to present first, so that choice should also be applied to the key repeat. (After all, PS/2 keyboards make that choice internally, and stick with it for the repeat).

Teensy doesn't do anything - it's all down to the software. My converter has an output queue, mainly to support playing back macros, which means that it will only output one change at a time (except for modifiers, it can change all of them at once in macros). Anyway, different USB keyboards may behave differently in this regard.
Title: asasasas instead of assssss
Post by: Surly73 on Sat, 03 March 2012, 09:46:24
Quote from: dnLL;533265
so it isn't normal and not supposed to be "asasasas". my Leopold does (as all keyboard i've ever tried) "asssss"

My NKRO model Filco connected to Win7 via USB (results in 6KRO): asasasasasasasasasasasasasasasasasasasasasas
Title: asasasas instead of assssss
Post by: dnLL on Sat, 03 March 2012, 12:07:54
Quote from: Soarer;533839
A USB keyboard sends the current state of all keys (ignoring the 6KRO limitation, it's not relevant to this) in each packet it sends to the host.

So the host can get a packet with no keys pressed, and the next can have two (or more) pressed.

Then, yes, it's the OS doing the key repeat. I don't think it's part of the HID spec, so I guess there's no real documentation on how it should behave. Clearly though, the intention is to act like a PS/2 keyboard, and repeat the last key pressed.

I'd call it a bug, however minor and irrelevant. The OS has already made a (completely arbitrary) choice of which key to present first, so that choice should also be applied to the key repeat. (After all, PS/2 keyboards make that choice internally, and stick with it for the repeat).

Teensy doesn't do anything - it's all down to the software. My converter has an output queue, mainly to support playing back macros, which means that it will only output one change at a time (except for modifiers, it can change all of them at once in macros). Anyway, different USB keyboards may behave differently in this regard.
thank you, finally a constructive input on the subject. so there isn't anything wrong with my Leopold doing "sdddddddddddd", whether pluggued via USB or PS/2.

I just think that most of the time, when typing and pressing two keys, it would be more useful to get alternate keys (or there is no reason to press 2 keys at the same time). still, ingame, you can press 2 keys and it will alternate (well, both keys remain activated). but not when typing in Windows (the 2 keys are probably still activated but Windows just take the last stroke for some reason).
Title: asasasas instead of assssss
Post by: Soarer on Sat, 03 March 2012, 13:09:07
Quote from: dnLL;534001
thank you, finally a constructive input on the subject. so there isn't anything wrong with my Leopold doing "sdddddddddddd", whether pluggued via USB or PS/2.

I just think that most of the time, when typing and pressing two keys, it would be more useful to get alternate keys (or there is no reason to press 2 keys at the same time). still, ingame, you can press 2 keys and it will alternate (well, both keys remain activated). but not when typing in Windows (the 2 keys are probably still activated but Windows just take the last stroke for some reason).

I can be quite useful in between [strike]trolling[/strike] trying to keep ripster honest!

For gaming, I guess it's a plus point to be able to send two changes simultaneously. (There is no key repeat to worry about in that case, anyway). Probably doesn't make a lot of difference though, since 'simultaneously' for a game would be 'in the same frame', which is relatively speaking quite a long time.
Title: asasasas instead of assssss
Post by: Nunez on Sat, 03 March 2012, 17:45:08
lol@thread.
Title: asasasas instead of assssss
Post by: dnLL on Sun, 04 March 2012, 09:22:36
Soarer, if it's OS-dependant, why isn't it the same behavior for everyone using W7? not sure to understand, or it might be my English (I'm French Canadian, just trying to do my best with my English as a 2nd language hehe).
Title: asasasas instead of assssss
Post by: Soarer on Sun, 04 March 2012, 09:26:50
Because it depends on the keyboard as well - if it doesn't ever send two changes at the same time, the quirk in the OS handling won't be revealed.
Title: asasasas instead of assssss
Post by: dnLL on Sun, 04 March 2012, 13:21:58
but some people with the same keyboard/OS are reporting different results. that's a bit weird.
Title: asasasas instead of assssss
Post by: isp on Sun, 04 March 2012, 18:06:58
[video=youtube;oa5z77EI8y0]http://www.youtube.com/watch?v=oa5z77EI8y0[/video]
asasassas to asssssssssss
Title: asasasas instead of assssss
Post by: ryan92084 on Sun, 04 March 2012, 19:18:26
That movie was ... special
Title: asasasas instead of assssss
Post by: Soarer on Sun, 04 March 2012, 21:17:25
Quote from: ripster;535105
And it's not easy to replicate if you look at my posts.


Not looking at your posts: asasasasasasasasasasasasasas

Looking at your posts: asssssssssssssssssssss

Hey, you're right!
Title: asasasas instead of assssss
Post by: dnLL on Sun, 04 March 2012, 21:57:06
Quote from: ripster;535105
So anyway the McRip effect means that it's not a big deal.  And it's not easy to replicate if you look at my posts.
finally found the right paragraph in that whole thread. wow.
Title: asasasas instead of assssss
Post by: dnLL on Sun, 04 March 2012, 22:02:02
Quote from: ripster;535105
So anyway the McRip effect means that it's not a big deal.  And it's not easy to replicate if you look at my posts.
finally figured out what you were saying after reading the whole thread (just stopped after the first video the first time I saw your thread because tl:dr). that might be my English too, I'm French Canadian and just trying to improve it. in the long run if I keep on posting some threads and answering others on those forums, I will get better ;p
Title: asasasas instead of assssss
Post by: laffindude on Mon, 05 March 2012, 09:12:01
Vertically, they scan bottom to top and has precedence over horizontal. Horizontal is scanned left to right for the most part, but rt/fg/vb are all swapped on my Ninja.
Title: asasasas instead of assssss
Post by: laffindude on Mon, 05 March 2012, 09:34:49
Your timing isn't as good as you claim, you guitar player you. /bassist

The polling rate for USB is claimed to be 1000hz, but I think you're right. There seem to be a separate scanning rate for keys. Perhaps related to debouncing code?
Title: asasasas instead of assssss
Post by: Lotsofgoats on Mon, 05 March 2012, 11:34:05
Interesting... and it works with other keys being used as modifiers, as well. Alternating through autohotkey:

(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)(س‎ ಥ⌂ಥ)س‎щ(ºДºщ)

As you can see, I like to optimize my work experience.
Title: asasasas instead of assssss
Post by: eth0s on Mon, 05 March 2012, 12:49:08
eqrtwywywywywywywywywywywywywywywywywywywywywywywywywywywywywy

i tried 5.
Title: asasasas instead of assssss
Post by: dnLL on Mon, 05 March 2012, 13:02:32
qwertyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Title: asasasas instead of assssss
Post by: laffindude on Mon, 05 March 2012, 13:05:29
qwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetryqwetry
Title: asasasas instead of assssss
Post by: laffindude on Mon, 05 March 2012, 13:10:54
nope.
qwetryqwetryqwetryqwetryqwetryqwetryqwetry
asdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfhasdgfh
zxcbvnzxcbvnzxcbvnzxcbvnzxcbvnzxcbvnzxcbvnzxcbvn
http://geekhack.org/showthread.php?28119-asasasas-instead-of-assssss&p=533271&viewfull=1#post533271
Title: asasasas instead of assssss
Post by: Lotsofgoats on Mon, 05 March 2012, 13:31:39
ddddddddddddddddddddreddddddddddddddddddderrrrrrrrrrrrrrrdedededededededededededededededededededededededededeeeeeeeeeeeeeedeeeeeeeeeeeeepeeeeeeeeeeeeeeeedrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrdrededeerepepepepepepepepepepepepepepepepepepepepepepepepepepepepdeepdededededededededededededededededededededederprprprprprprprprprprprprprprprprprprprprprddedededededededededededededededededederprprprprprprprprprprprprprprprprprprprprprprprprprprprprprpdedeeeeeeeeeeeeeeeeeee


._. derp
Title: asasasas instead of assssss
Post by: Soarer on Mon, 05 March 2012, 14:52:07
Quote from: Soarer;533839
A USB keyboard sends the current state of all keys (ignoring the 6KRO limitation, it's not relevant to this) in each packet it sends to the host.

So the host can get a packet with no keys pressed, and the next can have two (or more) pressed.

Then, yes, it's the OS doing the key repeat. I don't think it's part of the HID spec, so I guess there's no real documentation on how it should behave. Clearly though, the intention is to act like a PS/2 keyboard, and repeat the last key pressed.

I'd call it a bug, however minor and irrelevant. The OS has already made a (completely arbitrary) choice of which key to present first, so that choice should also be applied to the key repeat. (After all, PS/2 keyboards make that choice internally, and stick with it for the repeat).

Teensy doesn't do anything - it's all down to the software. My converter has an output queue, mainly to support playing back macros, which means that it will only output one change at a time (except for modifiers, it can change all of them at once in macros). Anyway, different USB keyboards may behave differently in this regard.


Quote from: ripster;535665
I wonder if Soarer has figured out yet that KEYBOARD SCIENCE requires experimentation!

Notice that I think the scan sequence and/or matrix location makes a difference here Soarer.

A and H are obviously scanned with different horizontal/vertical grids.  I BELIEVE the Filco controller goes Left to Right.

...

If you are impressed with my KEYBOARD SCIENCE skills...


Well, no. Science involves examining ALL possibilities, not simply espousing the first that appears plausible.

I'll grant you that your theory seems plausible. But only for 6KRO keyboards, or those using a similar HID report layout. NKRO over USB uses a bit per key, and the bit positions are fixed in the report, so matrix scan order will make no difference to the bit positions. Anyway, for 6KRO boot mode...

We know that one packet has no keys, and the next has two (or more) keys. That's a given for this behaviour to be at all feasible.

The HID specification [1] states that there is no defined order that the keys have to conform to. It's even legal to have gaps, e.g. slots 2 and 5 could be used from the 6 to send two codes.

We don't know how the OS examines each packet, i.e. what order it will present the events it finds there. It's a fair assumption that it reads the 6 key slots from beginning to end. But still, one should caution that it is an assumption at this point.

We don't know how each keyboard chooses to fill the packet. Some might well fill it starting from the beginning in matrix-scan order. Others could just as easily do something completely different - it's all down to the software.

As an idiot savant, you've mentioned key debounce. Yet you have no idea just how relevant that is!!



[1] Universal Serial Bus (USB) Device Class Definition for Human Interface Devices (HID), Version 1.11. Appendix F, Section 3, Boot Keyboard Requirements.
Title: asasasas instead of assssss
Post by: Soarer on Mon, 05 March 2012, 15:02:09
Quote from: ripster;536001
Quote from: Soarer
As an idiot savant, you've mentioned key debounce. Yet you have no idea just how relevant that is!!

fuuuuuuuuuuuuuuuuuuuu
ufffffffffffff
fufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufufu


QFT before you edit.
Title: asasasas instead of assssss
Post by: laffindude on Mon, 05 March 2012, 15:34:42
Quote from: ripster;536003
Gimme some specifics here.....Not able to replicate on my Filco.  And KEYBOARD SCIENCE requires confirmation of results.


rt/fg/vb are all swapped in auto repeat. It's a Filco Ninja 87k built in Aug11. Connected on USB directly to mobo.

I just pulled out my R and it exhibit the same behavior.
qwetryqwetryqwetryqwetryqwetryqwetry
asdgfhasdgfhasdgfhasdgfhasdgfhasdgfh
zxcbvnzxcbvnzxcbvnzxcbvnzxcbvnzxcbvn
etryetryetryetryetryetryetry
dgfhdgfhdgfhdgfhdgfhdgfh
cbvncbvncbvncbvncbvncbvn
trytrytrytrytrytrytrytrytrytry
gfhgfhgfhgfhgfhgfhgfhgfhgfh
bvnbvnbvnbvnbvnbvnbvnbvn
trtrtrtrtrtrtrtr
gfgfgfgfgfgfgfgf
bvbvbvbvbvbvbv

^From the R 87k. Except this is connected through hub on my monitor.
Title: asasasas instead of assssss
Post by: IvanIvanovich on Mon, 05 March 2012, 17:16:33
qwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwerqwer
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;jkl;
$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^$%&^
xcvbxcvbcvbcxvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvbxcvb

I conclude Poker is superior as it consistently behaves as I would expect it to. Well the shifted was out of order for some reason...
Edit: spaces were not there prior to posting.
Title: asasasas instead of assssss
Post by: Awful on Mon, 05 March 2012, 17:26:12
qwefffffffffffffffffffffffffffffffffff

teehee quief.
Title: asasasas instead of assssss
Post by: dnLL on Mon, 05 March 2012, 19:59:47
why can't I do it? lol
Title: asasasas instead of assssss
Post by: laffindude on Tue, 06 March 2012, 07:43:30
Quote from: Soarer;535998
Well, no. Science involves examining ALL possibilities, not simply espousing the first that appears plausible.

I'll grant you that your theory seems plausible. But only for 6KRO keyboards, or those using a similar HID report layout. NKRO over USB uses a bit per key, and the bit positions are fixed in the report, so matrix scan order will make no difference to the bit positions. Anyway, for 6KRO boot mode...

We know that one packet has no keys, and the next has two (or more) keys. That's a given for this behaviour to be at all feasible.

The HID specification [1] states that there is no defined order that the keys have to conform to. It's even legal to have gaps, e.g. slots 2 and 5 could be used from the 6 to send two codes.

We don't know how the OS examines each packet, i.e. what order it will present the events it finds there. It's a fair assumption that it reads the 6 key slots from beginning to end. But still, one should caution that it is an assumption at this point.

We don't know how each keyboard chooses to fill the packet. Some might well fill it starting from the beginning in matrix-scan order. Others could just as easily do something completely different - it's all down to the software.

As an idiot savant, you've mentioned key debounce. Yet you have no idea just how relevant that is!!


I think there are 2 separate issue here. 1: what exactly is the keyboard spitting out, 2: how is the OS interpreting it. 1 should be easy to test. USB sniffer should be able to read what's being outputted by the keyboard. May be that'll help better decipher the behavior of the controller. I think we need to figure that out before testing behavior of the OS.
I do agree this is McRip effect territory. Unless you're soarer and other people who have written firmware for controllers, it has almost zero tangible effect on computing.
PS, I am the idiot who mentioned debounce. Just how relevant is it?
Title: asasasas instead of assssss
Post by: yttrium on Tue, 06 March 2012, 09:35:35
I get asasasasasasasasasasasasasasasasasas with this keyboard using WinXP:
[ATTACH=CONFIG]42852[/ATTACH]

On my Ducky, I get asssssssssssssssssssssssss on Win7. Both use USB, the Dell has 2KRO and the Ducky has NKRO. I wonder, if I use a PS/2 adapter on the Ducky, would Windows interpret the packets differently (actually behave according to PS/2 spec)?
Title: asasasas instead of assssss
Post by: alaricljs on Tue, 06 March 2012, 10:48:10
Since PS/2 doesn't use packets and there's no choice in regard to obeying the PS/2 spec then I'm thinking you'll get exactly what the PS/2 spec says you will.
Title: asasasas instead of assssss
Post by: alaricljs on Tue, 06 March 2012, 10:59:57
frofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofrofro

Should practice more piano.
Title: asasasas instead of assssss
Post by: Soarer on Tue, 06 March 2012, 11:17:38
Quote from: laffindude;536777
I think there are 2 separate issue here. 1: what exactly is the keyboard spitting out, 2: how is the OS interpreting it. 1 should be easy to test. USB sniffer should be able to read what's being outputted by the keyboard. May be that'll help better decipher the behavior of the controller. I think we need to figure that out before testing behavior of the OS.
I do agree this is McRip effect territory. Unless you're soarer and other people who have written firmware for controllers, it has almost zero tangible effect on computing.
PS, I am the idiot who mentioned debounce. Just how relevant is it?


Last point first: Oops. Friendly fire casualty. But, you are not the idiot, you are wise since you inquired about debounce!

AFAIK, most keyboards use a pretty basic algorithm for debouncing. They wait until all keys have stopped bouncing, rather than debouncing each key individually. This means that any key change during the debounce of another key extends the debounce period. And that means that even key changes that don't occur within the same matrix scan can become ready for output at the same time. That doesn't exactly cause this phenomena, but it does make it much easier to trigger (and also transposition errors).

I refuse to use the name of some bull**** 'effect'. Even more so here because I see curiosity and banter on this topic, not complaints! If some keyboards turn out to be better than others in this regard then it's up to the buyer whether it makes any difference to their purchasing decisions.

Of course this has pretty much zero tangible effect on computing. It's still interesting to note that it happens, and understand why it happens, even to some people who aren't developing firmware. But examining why any particular keyboard outputs 'simultaneous' events in the order that they do, well, that's uninteresting even for me! It totally depends on the firmware (which obviously includes the matrix scan code, but a lot else as well). It certainly has no relevance to how I might make design choices in my code.
Title: asasasas instead of assssss
Post by: laffindude on Tue, 06 March 2012, 11:45:37
My view on the "effect" is that it's stuff that only wacky enthusiasts care about. like 88tooth ratchets vs 84tooth. I think bar fights have started from those talks ;o

Debouncing in batch was one of my guesses about the behavior. The other is how often the controller actually poll the matrix, since it could be different than the USB reporting rate.
Title: asasasas instead of assssss
Post by: captain on Tue, 06 March 2012, 12:48:11
assssssssssssssssssasssssssssssssssaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadfjksajklfffffffffffffffffffffffspqiuowwwwwwwwwwwwwwwwwwwenm,.....................hjkllllllllllllhuuuuuuuuuuuuurfffffffffffffffrrrrrrrrrrrrrgttttttttttttttgggggggggggggggg

it seems that whichever key is sent last, gets replicated by the "key repeater".
Title: asasasas instead of assssss
Post by: Soarer on Tue, 06 March 2012, 13:41:34
Quote from: laffindude;536913
My view on the "effect" is that it's stuff that only wacky enthusiasts care about. like 88tooth ratchets vs 84tooth. I think bar fights have started from those talks ;o

Debouncing in batch was one of my guesses about the behavior. The other is how often the controller actually poll the matrix, since it could be different than the USB reporting rate.


Wacky... is relative! We are here to fuss over keyboards, and just because one person doesn't think something relevant... is irrelevant. :-D

Yeah, I guess if the keyboard scans faster than it can send, then one report might be a combination of events from more than one scan. However, if the keyboard does all-in-one batch debouncing, that can't happen ;-)
Title: asasasas instead of assssss
Post by: Soarer on Tue, 06 March 2012, 13:52:06
Quote from: ripster;536934
Bull**** is a bad word.


Apt then. Bad word for a bad thing.

Quote from: ripster;536934
The is sososososososososososososososososososososososososososososososososososososososososososososososososososososososososososososososososososososo

much friendlier.


When you brought it into existance purely to annoy those who disagreed with you - hardly.
Title: asasasas instead of assssss
Post by: ryan92084 on Tue, 06 March 2012, 15:42:24
Quote from: yttrium;536820
I get asasasasasasasasasasasasasasasasasas with this keyboard using WinXP:
(Attachment) 42852[/ATTACH]

On my Ducky, I get asssssssssssssssssssssssss on Win7. Both use USB, the Dell has 2KRO and the Ducky has NKRO. I wonder, if I use a PS/2 adapter on the Ducky, would Windows interpret the packets differently (actually behave according to PS/2 spec)?

Odd, my ducky does asasasasasasasasasasasasasasasasasasasasasasasasas on USB also qewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtryqewtry
Title: asasasas instead of assssss
Post by: yttrium on Tue, 06 March 2012, 16:24:04
*inserts USB > PS/2 adapter*
ththisis wasas aa trtriuiumpmphh

i'i'mm mamakikingng aa nonotete heherere:: HUHUGEGE SUSUCCCCESESSS

Just kidding.
asssssssssssssssssssssssssssss

Must be controller-based, though with PS/2 I'm noticing it's much more responsive. Maybe it's just me though.
Title: asasasas instead of assssss
Post by: Dox on Tue, 06 March 2012, 17:12:34
hummmmm...

ahahahahahahahahahahahahahahahahahahahahahah
hahahahahahahahahahahahahahahahahahahahaha

fufufufufufufufufufufufufufufufufufufufufufu
ufufufufufufufufufufufufufufufufufufufufufuf
Title: asasasas instead of assssss
Post by: alaricljs on Tue, 06 March 2012, 17:13:42
Now you have me wondering if you're futzing with your Dox firmware  :)
Title: asasasas instead of assssss
Post by: Dox on Tue, 06 March 2012, 17:15:24
hahah I didn't change anything for real. It's just that good!
Title: asasasas instead of assssss
Post by: All The Fire on Wed, 07 March 2012, 15:08:29
asssssssss
fgfgfgfgfgfgfgfgfgfgfgfg
rtttttttttttt
jkkkkkkkkkkkkk
jhjhjhjhjhjhjhjhjhjhjhjhjh

fgjhgjhgjhgjhgjhgjhgjhgjhgjhgjhgjhgjhgjhgjh
asdfdfdfdfdfdfdfdfdfdfdfdfdfdfdf
qwerrrrrrrrrrrrrrrr
tuyiiiiiiiiiiiiiiiiii

Leopold plugged into a Lenovo Thinkpad. I'm so confused. :S
Title: asasasas instead of assssss
Post by: All The Fire on Wed, 07 March 2012, 15:21:13
Ripster, were you the personality model for GLaDOS?

It's Science!
Title: asasasas instead of assssss
Post by: keyboardlover on Wed, 07 March 2012, 17:48:11
I think of him more like Vicki from Small Wonder.
Title: asasasas instead of assssss
Post by: Dox on Wed, 07 March 2012, 18:48:42
hummm....

DoxKB hasu's firmware:
ewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrty
wertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywerty
tyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewtyrewewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrtyewrty
tyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwetyrwe
wertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywerty

HHKB pro2:
dfghjjjjjjjjjjjjjjjjjjj
sdfghhhhh
wreytttttttttttttttttttttttttttttttttttttttttt
ytwreeeeeeeeeeeeeeeeeeeeeeeeeeee
Title: asasasas instead of assssss
Post by: Dox on Wed, 07 March 2012, 20:33:27
That doesn't make sense.
I can do both and my scanning order is from right to left.


mfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmf
fmfmfmfmfmfmfmfmfmfmfmfm


ufufufufufufufufufufufufufufufufufufufufufufufufufufufufufuf
fufufufufufufufufufufufufufufufufufufufufufufufufufufufufu


Maybe the filco controller is just too slow.
Title: asasasas instead of assssss
Post by: keyboardlover on Wed, 07 March 2012, 20:35:33
fffffffffuuuuuuuuuuuuu

Mine seems ok.
Title: asasasas instead of assssss
Post by: Lu_e on Thu, 08 March 2012, 00:10:15
fmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfm

ya neither can I

fmfmfmfmfmfmfmfmfmfmfmfmfmfmfmfmmffffffffffffffffffffffffffffffffffmfmfmfmfmfmfmfmfmfmfmfmfm

wqtreqtreqtreqtreqtreqtrewqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtrewqetrtrtrtrtrtrtrtrtrtrwqtreqtreqtreqtreqtrewqretttttttttttttttttttttttwqetrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrtrqwqetrtrtrtrwqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtreqtre qtreqtreqtreqtreqtreqtreqtre
Title: asasasas instead of assssss
Post by: All The Fire on Thu, 08 March 2012, 02:10:58
fmfmfmfmfmfm
fmfmfmfmfmfmfmfmfm
mfffffffffffff
fmmmmmmmmmm
fmfmfmfmfmfm

qwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwerty
qscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjoqscbjo
asdjklasdjklasdjklasdjklasdjklasdjklasdjklasdjkl
kljjjjjjjjj
zxcuiozxcuiozxcuiozxcuiozxcuio

Mionix Zibal. Funnily enough the Mionix seems to be able to do any combination of up to 6 keys and shift, or 5 keys shift and enter, but my Leopold can only do some combinations of 2. Unsure of the state of the USB ports in my work laptop though, if that affects it.

DID I SCIENCE???
Title: asasasas instead of assssss
Post by: captain on Sat, 10 March 2012, 10:52:01
Quote from: ripster;538366

See.  I can't do M F.


That's nothing to be ashamed of, ripster.  Some people are just born that way.  ;-)
Title: asasasas instead of assssss
Post by: dnLL on Sat, 10 March 2012, 14:32:05
qwwwww
ewwwww
errrrrrrrrrr
rttttttttt
yttttttttt
uyyyyyyy
iuuuuuuu
iooooooo
opppppp
Title: asasasas instead of assssss
Post by: All The Fire on Sun, 11 March 2012, 06:58:28
I've found my Mionix doing something funny. It seems to be top to bottom, left to right, but going left to right U, J and M seem to have been swapped with Y, H and N, they'll always kick in first. Top to bottom will still kick in so it will go Y, J then H for example.

tytytytyty
uyuyuyuyuy
uiuiuiuiui
yiyiyi

ghghghghghgh
jhjhjhjhjh
jkjkjkjkjkjk
hkhkhkhk

bnbnbnbn
mnmnmnmnmnmn
m,m,m,m,m,m,
n,n,n,n,

uyhuyhuyh
yjhyjhyjhyjh
yhmyhmyhmyhm
uhnuhn
jhnjhnjhn
jnijnijni
jhijhijhi

Also, numbers act as if they're below letters.

q1q1q1q1q1
a1a1a1a1
z1z1z1z1
qaz1qaz1qaz1qaz1qaz1
1w1w1w1w
1s1s1s
1x1x1x1x1x
1wsx1wsx1wsx1wsx1wsx1wsx1wsx
Title: asasasas instead of assssss
Post by: Soarer on Sun, 11 March 2012, 07:57:06
Quote from: ripster;538117
If impressed with my keyboard scanning experiments and observations...

Not in the slightest! You could at least try it on a different keyboard, as All The Fire has done.

Your 'Science' has about as much relevance as a morning fart on Titan.

Good morning!
Title: asasasas instead of assssss
Post by: dnLL on Sun, 11 March 2012, 08:35:31
I would like to get keys to alternate on my Leopold on W7, but it won't happen.
Title: asasasas instead of assssss
Post by: Dox on Sun, 11 March 2012, 10:21:31
You cant predict how mine will work....

ononononononononononononononononononononononononononononon
nononononononononononononononononononononononononononono
ononononononononononononononononononononononon
nonononononononononononononononononononono

Edit: It's easy to predict. Just press the first key first. Filco scanning is too slow to pick up the small delay between the 2 keys I guess.
Title: asasasas instead of assssss
Post by: keyboardlover on Sun, 11 March 2012, 10:35:00
*everyone's keyboard explodes*
Title: asasasas instead of assssss
Post by: Dox on Sun, 11 March 2012, 11:15:11
No quirk in my firmware.

With a credit card at a very slight angle:
 left to right
wertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywerty

right to left
ytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrew
Title: asasasas instead of assssss
Post by: keyboardlover on Sun, 11 March 2012, 11:24:10
Hahaha. I like the way ripster jokes about me now that we're friends :D

(http://cdn.memegenerator.net/instances/400x/16010301.jpg)

I can jib back too ripster! You assssss :D
Title: asasasas instead of assssss
Post by: Soarer on Sun, 11 March 2012, 16:32:13
Quote from: Dox;542205
Filco scanning is too slow to pick up the small delay between the 2 keys I guess.

Quote from: Dox;542258
No quirk in my firmware.

With a credit card at a very slight angle:
 left to right
wertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywertywerty

right to left
ytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrewytrew

Dox > Filco :-)

How fast do you scan?
Title: asasasas instead of assssss
Post by: Dox on Sun, 11 March 2012, 16:40:28
I'm using hasu's firmware so I can't say exactly what is the rate. I'll try to look at the code later to see if I can figure it out.
Title: asasasas instead of assssss
Post by: Soarer on Sun, 11 March 2012, 16:45:17
Dox AND hasu > Filco :-D
Title: asasasas instead of assssss
Post by: Soarer on Sun, 11 March 2012, 16:54:37
ripster says...
Quote from: ripster;542263
I can't believe Wellington 1869 used to obsess about this stuff so much.  Reminds me of KL obsessing over me and posting every time I post.


our records show...
[ATTACH=CONFIG]43583[/ATTACH]

oops!
Title: asasasas instead of assssss
Post by: keyboardlover on Sun, 11 March 2012, 17:02:43
Quote
ripster says...
Quote
Originally Posted by ripster (http://geekhack.org/showthread.php?p=542263)
I can't believe Wellington 1869 used to obsess about this stuff so much.  Reminds me of KL obsessing over me and posting every time I post.

our records show...
Show Image
(http://geekhack.org/attachment.php?attachmentid=43583&d=1331502764)


oops!

Lol...ripster was just kidding. We're friends now!

See my subforum for more info =)
Title: asasasas instead of assssss
Post by: Soarer on Sun, 11 March 2012, 17:04:34
Quote from: ripster;542621
science works.
Small 'S' now?
Title: asasasas instead of assssss
Post by: Soarer on Sun, 11 March 2012, 17:13:27
Quote from: keyboardlover;542625
Lol...ripster was just kidding. We're friends now!

See my subforum for more info =)


What happens in subforum, stays in subforum.
Title: asasasas instead of assssss
Post by: bpiphany on Mon, 12 March 2012, 01:51:08
Quote from: Dox;542596
I'm using hasu's firmware so I can't say exactly what is the rate. I'll try to look at the code later to see if I can figure it out.

No access to an oscilloscope?
Title: Re: asasasas instead of assssss
Post by: Grendel on Tue, 27 May 2014, 02:08:15
[ack. accident, sorry.]
Title: Re: asasasas instead of assssss
Post by: 0100010 on Tue, 27 May 2014, 11:21:42
Holy necro.

Now one had to ask what was one googling to bring up a thread on assssssssssssssssssss.
Title: Re: asasasas instead of assssss
Post by: paicrai on Tue, 27 May 2014, 12:17:43
If you time it right, repeating the pressed letters is possible.
asasasasasasasasasasasasas
dfdfdfdfdfdfdfdfdfdfdfdfdfdf
zxzxzxzxzxzxzxzxzxzxzxzxzxzxzxzxzx
hjhjhjhjhjhjhjhjhjhjhjhjhjhjhjhj
klklklklklklklklklklklklklklklkl
It works every time on my QFR
Title: Re: asasasas instead of assssss
Post by: esoomenona on Tue, 27 May 2014, 12:30:51
I can't get that to happen at all, and as far as I can remember typing on a Windows computer, that has never happened.
Title: Re: asasasas instead of assssss
Post by: Grendel on Tue, 27 May 2014, 16:03:32
Hah -- that seems to be it: if multiple keys become active at nearly the same time and are initially send in the same USB report they will repeat together. This means that the slower the scan rate of the key matrix and the USB poll rate, the easier this can be archived. I managed to do it once on this QFS w/ custom firmware and 500us scan interval/2ms poll rate.

fggfffffffffffffgffffffffffffffgfffffffffffgffffffffdfdfdfdfdfdfdfdfdfdffffffffffffffdddddddddddddddddddddfddddddddddddddf