Subject: Re: Controller Driver
To: None <tb90@mail.csuchico.edu>
From: Marcus Comstedt <marcus@idonex.se>
List: port-dreamcast
Date: 03/03/2001 04:29:35
>>>>> "Tyrel" == Tyrel Beede <tb90@mail.csuchico.edu> writes:

  Tyrel> My driver for the dreamcast controller which makes it work like a
  Tyrel> keyboard is *really* sensitive.  I'm wondering why this is, it is much
  Tyrel> more sensitive than the keyboard input... in terms of key repeats and
  Tyrel> stuff.  I'm not an expert and I havn't really looked dug into the
  Tyrel> callout code but it seems that the maple.c is polling the for the driver
  Tyrel> cond at fixed intervals... which would mean that the interval is the
  Tyrel> same for the controller and the keyboard, but the controller is sending
  Tyrel> key repeats(if you hold down a button) much faster.  Maybe I'm wrong
  Tyrel> about the polling or something...


If you just register a condition callback like the mkbd driver does,
you should get condition updates 50 times per second (half HZ rate).
Since I don't know what you're doing with the condition data, I can't
tell if you're doing something wrong...


  // Marcus