On Tue, 29 Jan 2008, Garth Dahlstrom wrote: > (hand up) Oh, Oh, Oh! I know the answer to this one... [I'm the guy who is > responsible for a switch being different from a button.] > > >From http://mixxx.sourceforge.net/wiki/index.php/MidiMapping > > - button - a button has a *Down* (non-zero) and an *Up* (zero) state, > these occur together when pressed/released, this switch only triggers on > the > *Down*, *Up* is ignored. (Herc) > - switch - a switch has a *On* (non-zero) and an *Off* (zero) state, > these occur separately. (Herc)
Yeah, generally speaking, switches maintain states (on, vs. off) where buttons deliver events "turn on", vs. "turn off"). Exceptions abound. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
