From: Vojtech P. <vo...@su...> - 2001-06-30 19:54:06
|
On Fri, Jun 29, 2001 at 12:27:10PM -0700, James Simmons wrote: > > > > There is a limit to 256 event devices. Now you > > > say that is a good number but given 5 input devices it whould take 15 > > > times unplugging and plugging them back in before you run out of numbers. > > > So I like to suggest that we keep track of the "free" numbers and grab the > > > lowest one. > > > > We do this, at least in evdev. > > Yes but input.c you just increase it from what I could see. No: dev->number = find_first_zero_bit(input_devices, INPUT_DEVICES); -- Vojtech Pavlik SuSE Labs |