ecraven / g13

libusb driver for the g13
134 stars 80 forks source link

nkey rollover #17

Open davebattles opened 8 years ago

davebattles commented 8 years ago

I have my binds like this and theres no n-key rollover / key persistance. I can't run to a direction, jump, and continue moving. Is there something I'm doing wrong?

TERRARIA

rgb 0 255 0 bind G1 KEY_ESC #PAUSE bind G4 KEY_W #UP bind G5 KEY_E #GRAPPLE bind G6 KEY_R #MOUNT bind G10 KEY_A #RRUN LEFT bind G11 KEY_S #DOWN bind G12 KEY_D #Run RIGHT bind G22 KEY_SPACE #JUMP bind G7 KEY_0 #Mirror recall

james-fowler commented 8 years ago

Does it work the way you need in the jfowler branch? Each key cycle should generate a DOWN event and an UP event. For example, if you press and hold G10/D, then press & release G22/SPACE, then release G10/D, it should generate

KEY_D DOWN KEY_SPACE DOWN KEY_SPACE UP KEY_D UP