Lines Matching refs:buttons
201 len += sprintf( buf+len, "Buttons : %u\n", ps->Device.buttons);
226 bc = ps->Device.buttons;
229 /* Check the buttons... */
333 for( i = 0; i < ps->Device.buttons; i++ ) {
335 if( ps->procDir.buttons[i] )
336 destroy_proc_entry(ps->procDir.entry, &ps->procDir.buttons[i]);
420 for( i = 0; i < ps->Device.buttons; i++ ) {
424 ps->procDir.buttons[i] = new_entry( str, 0, ps->procDir.entry );
425 if( NULL == ps->procDir.buttons[i] )
428 ps->procDir.buttons[i]->read_proc = procfsButtonsReadProc;
429 ps->procDir.buttons[i]->data = ps;