Searched refs:buttons (Results 1 - 25 of 35) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dmac_mouse.h14 char buttons; member in struct:mouse_status
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dgpio_keys.h14 struct gpio_keys_button *buttons; member in struct:gpio_keys_platform_data
H A Dgameport.h193 static inline int gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
196 return gameport->cooked_read(gameport, axes, buttons);
H A Djoystick.h63 #define JSIOCGBUTTONS _IOR('j', 0x12, __u8) /* get number of buttons */
114 __s32 buttons; member in struct:JS_DATA_TYPE
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/cobalt/
H A DMakefile5 obj-y := buttons.o irq.o reset.o rtc.o serial.o setup.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/mouse/
H A Datarimouse.c74 int buttons, dx, dy; local
78 buttons = (buf[0] & 1) | ((buf[0] & 2) << 1);
80 buttons |= atari_mouse_buttons & 2;
81 atari_mouse_buttons = buttons;
92 input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x1);
93 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2);
94 input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x4);
H A Dlogibm.c83 unsigned char buttons; local
92 buttons = inb(LOGIBM_DATA_PORT);
93 dy |= (buttons & 0xf) << 4;
94 buttons = ~buttons >> 5;
98 input_report_key(logibm_dev, BTN_RIGHT, buttons & 1);
99 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2);
100 input_report_key(logibm_dev, BTN_LEFT, buttons & 4);
H A Dinport.c91 unsigned char buttons; local
103 buttons = inb(INPORT_DATA_PORT);
105 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1);
106 input_report_key(inport_dev, BTN_LEFT, buttons & 2);
107 input_report_key(inport_dev, BTN_RIGHT, buttons & 4);
H A Dlogips2pp.c68 case 0x0e: /* buttons 4, 5, 6, 7, 8, 9, 10 info */
330 unsigned char model, buttons; local
344 buttons = param[1];
346 if (!model || !buttons)
410 if (buttons < 3)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-java-awt/
H A DHello.java41 Container buttons = new Container();
42 buttons.setLayout(new FlowLayout(FlowLayout.RIGHT));
43 buttons.add(button);
46 frame.add(buttons, BorderLayout.SOUTH);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-java-swing/
H A DHello.java38 JPanel buttons = new JPanel();
39 buttons.setLayout(new FlowLayout(FlowLayout.RIGHT));
40 buttons.add(button);
43 frame.getContentPane().add(buttons, BorderLayout.SOUTH);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dlcd.c342 button_display.buttons = GPIRead;
351 button_display.buttons =
364 * in "buttons" of the structure. We will set this to non-zero if the
371 iface_num = button_display.buttons;
372 button_display.buttons = 0;
402 unsigned long buttons = GPIRead; local
404 if ((buttons == BUTTON_Next) || (buttons == BUTTON_Next_B)
405 || (buttons == BUTTON_Reset_B))
406 return buttons;
[all...]
H A Dlcd.h21 unsigned buttons; member in struct:lcd_display
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/sgi-ip22/
H A Dip22-reset.c173 unsigned int buttons; local
175 buttons = sgioc->panel;
192 if (ip22_is_fullhouse() || !(buttons & SGIOC_PANEL_POWERINTR)) {
198 if (!(buttons & SGIOC_PANEL_VOLUPINTR)) {
205 if (!(buttons & SGIOC_PANEL_VOLDNINTR)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/joystick/
H A Djoydump.c56 int axes[4], buttons; local
76 gameport_cooked_read(gameport, axes, &buttons);
80 printk(KERN_INFO "joydump: | Buttons %02x. |\n", buttons);
H A Danalog.c114 short *buttons; member in struct:analog
131 int buttons; member in struct:analog_port
181 static void analog_decode(struct analog *analog, int *axes, int *initial, int buttons) argument
189 buttons |= 1 << (i + 14);
195 input_report_key(dev, analog->buttons[j++], (buttons >> i) & 1);
199 input_report_key(dev, analog->buttons[j++], (buttons >> (i + 10)) & 1);
217 ((buttons >> ((i << 2) + 7)) & 1) - ((buttons >> ((
[all...]
H A Dadi.c71 * Names, buttons, axes ...
115 char buttons; member in struct:adi
233 for (i = 0; i < adi->buttons && i < 63; i++) {
248 for (i = 63; i < adi->buttons; i++)
356 adi->buttons = adi_get_bits(adi, 6);
364 adi->buttons += adi_get_bits(adi, 6);
380 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4;
390 adi->buttons -= 4;
394 adi->buttons -= 4;
439 for (i = 0; i < adi->buttons;
[all...]
H A Dtwidjoy.c17 * The Twiddler is a one-handed chording keyboard featuring twelve buttons on
18 * the front, six buttons on the top, and a built-in tilt sensor. The buttons
19 * on the front, which are grouped as four rows of three buttons, are pressed
21 * at the same time) and the buttons on the top are for the thumb. The tilt
29 * controller with amazing 18 buttons :-)
75 int buttons[3]; member in struct:twidjoy_button_spec
121 input_report_key(dev, bp->buttons[i], i+1 == value);
216 set_bit(bp->buttons[i], input_dev->keybit);
H A Da3d.c62 int buttons; member in struct:a3d
140 a3d->buttons = ((data[3] << 3) | data[4]) & 0xf;
200 static int a3d_adc_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
207 *buttons = a3d->buttons;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/keyboard/
H A Dgpio_keys.c38 struct gpio_keys_button *button = &pdata->buttons[i];
77 struct gpio_keys_button *button = &pdata->buttons[i];
104 free_irq(gpio_to_irq(pdata->buttons[i].gpio), pdev);
118 int irq = gpio_to_irq(pdata->buttons[i].gpio);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/
H A Dmousedev.c56 unsigned long buttons; member in struct:mousedev_hw_data
86 unsigned long buttons; member in struct:mousedev_motion
220 set_bit(index, &mousedev->packet.buttons);
221 set_bit(index, &mousedev_mix.packet.buttons);
223 clear_bit(index, &mousedev->packet.buttons);
224 clear_bit(index, &mousedev_mix.packet.buttons);
239 if (client->ready && p->buttons != mousedev->packet.buttons) {
262 p->buttons = mousedev->packet.buttons;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/misc/ibmasm/
H A Dremote.c142 unsigned char buttons = input->mouse_buttons; local
145 (buttons)?" -- buttons:":"",
146 (buttons & REMOTE_BUTTON_LEFT)?"left ":"",
147 (buttons & REMOTE_BUTTON_MIDDLE)?"middle ":"",
148 (buttons & REMOTE_BUTTON_RIGHT)?"right":""
163 unsigned char buttons = input->mouse_buttons; local
167 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT);
168 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE);
169 input_report_key(dev, BTN_RIGHT, buttons
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/gameport/
H A Dfm801-gp.c45 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
50 *buttons = (~w >> 14) & 0x03;
55 *buttons |= ((~w >> 14) & 0x03) << 2;
H A Dlightning.c79 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
103 *buttons = inb(L4_PORT) & 0x0f;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0_game.c58 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
63 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf;

Completed in 146 milliseconds

12