Home
last modified time | relevance | path

Searched full:buttons (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/openbmc/linux/Documentation/input/
H A Dgamepad.rst44 4 buttons in diamonds-shape (on the right side). The buttons are
48 4 buttons (on the left side) that point up, down, left and right.
50 Different constellations, but most-times 2 buttons: SELECT - START
52 special system-button. It often looks different to the other buttons and
60 Not all devices provide them, but the upper buttons are normally named
61 Left- and Right-Triggers, the lower buttons Z-Left and Z-Right.
83 the buttons from this protocol. However, they try to do this in a compatible
84 fashion. For example, the "Nintendo Wii Nunchuk" provides two trigger buttons
86 analog stick and two trigger buttons on the right side.
101 Every gamepad device has at least 2 action buttons. This means, that every
[all …]
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Chassis/Buttons/
H A Dmeson.build4 'xyz/openbmc_project/Chassis/Buttons/Button__markdown'.underscorify(),
5 input: [ '../../../../../yaml/xyz/openbmc_project/Chassis/Buttons/Button.interface.yaml', ],
13 'xyz/openbmc_project/Chassis/Buttons/Button',
19 'xyz/openbmc_project/Chassis/Buttons/HostSelector__markdown'.underscorify(),
20 …input: [ '../../../../../yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml', ],
28 'xyz/openbmc_project/Chassis/Buttons/HostSelector',
34 'xyz/openbmc_project/Chassis/Buttons/ID__markdown'.underscorify(),
35 input: [ '../../../../../yaml/xyz/openbmc_project/Chassis/Buttons/ID.interface.yaml', ],
43 'xyz/openbmc_project/Chassis/Buttons/ID',
49 'xyz/openbmc_project/Chassis/Buttons/NMI__markdown'.underscorify(),
[all …]
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py36 buttons = {}
39 buttons[button] = True
40 r = uhdev.event(buttons=buttons)
47 buttons[button] = False
48 r = uhdev.event(buttons=buttons)
59 for b in uhdev.buttons:
63 """check for button reliability when pressing 2 buttons"""
69 b1 = uhdev.buttons[0]
71 b2 = uhdev.buttons[1]
74 buttons = {b1: True, b2: True}
[all …]
H A Dtest_wacom_generic.py79 class Buttons: class
83 Describes the state of each of the buttons / "side switches" that
84 may be present on a stylus. Buttons set to 'None' indicate the
95 return Buttons(False, False, False)
168 self.buttons = Buttons.clear()
191 self, x, y, pressure, buttons=None, toolid=None, proximity=None, reportID=None argument
199 :param buttons: stylus button state. Use ``None`` for unchanged.
206 if buttons is not None:
207 self.buttons = buttons
208 buttons = self.buttons
[all …]
/openbmc/linux/drivers/input/joystick/
H A Dmaplecontrol.c29 unsigned short buttons; in dc_pad_callback() local
35 buttons = ~le16_to_cpup((__le16 *)(res + 8)); in dc_pad_callback()
38 (buttons & 0x0010 ? -1 : 0) + (buttons & 0x0020 ? 1 : 0)); in dc_pad_callback()
40 (buttons & 0x0040 ? -1 : 0) + (buttons & 0x0080 ? 1 : 0)); in dc_pad_callback()
42 (buttons & 0x1000 ? -1 : 0) + (buttons & 0x2000 ? 1 : 0)); in dc_pad_callback()
44 (buttons & 0x4000 ? -1 : 0) + (buttons & 0x8000 ? 1 : 0)); in dc_pad_callback()
46 input_report_key(dev, BTN_C, buttons & 0x0001); in dc_pad_callback()
47 input_report_key(dev, BTN_B, buttons & 0x0002); in dc_pad_callback()
48 input_report_key(dev, BTN_A, buttons & 0x0004); in dc_pad_callback()
49 input_report_key(dev, BTN_START, buttons & 0x0008); in dc_pad_callback()
[all …]
H A Danalog.c94 short *buttons; member
110 int buttons; member
119 static void analog_decode(struct analog *analog, int *axes, int *initial, int buttons) in analog_decode() argument
127 buttons |= 1 << (i + 14); in analog_decode()
133 input_report_key(dev, analog->buttons[j++], (buttons >> i) & 1); in analog_decode()
137 input_report_key(dev, analog->buttons[j++], (buttons >> (i + 10)) & 1); in analog_decode()
155 ((buttons >> ((i << 2) + 7)) & 1) - ((buttons >> ((i << 2) + 9)) & 1)); in analog_decode()
157 ((buttons >> ((i << 2) + 8)) & 1) - ((buttons >> ((i << 2) + 6)) & 1)); in analog_decode()
226 port->buttons = (~u >> 4) & 0xf; in analog_button_read()
230 port->buttons = 0; in analog_button_read()
[all …]
H A Dtwidjoy.c14 * The Twiddler is a one-handed chording keyboard featuring twelve buttons on
15 * the front, six buttons on the top, and a built-in tilt sensor. The buttons
16 * on the front, which are grouped as four rows of three buttons, are pressed
18 * at the same time) and the buttons on the top are for the thumb. The tilt
26 * controller with amazing 18 buttons :-)
55 int buttons[3]; member
101 input_report_key(dev, bp->buttons[i], i+1 == value); in twidjoy_process_packet()
196 set_bit(bp->buttons[i], input_dev->keybit); in twidjoy_connect()
/openbmc/webui-vue/docs/guide/components/buttons/
H A Dindex.md1 # Buttons chapter
3 Buttons are used to perform an action. The main buttons in the application are
4 the `primary` and `secondary` buttons. Buttons, like all Boostrap-vue components
9 [Learn more about Bootstrap-vue buttons](https://bootstrap-vue.js.org/docs/components/button)
11 ### Icon only buttons
16 ### Enabled buttons
21 // Enabled Buttons
39 ### Disabled buttons
44 // Disabled Buttons
/openbmc/linux/drivers/mfd/
H A Ducb1x00-assabet.c42 static struct gpio_keys_button buttons[6]; in ucb1x00_assabet_add() local
45 memset(buttons, 0, sizeof(buttons)); in ucb1x00_assabet_add()
48 for (i = 0; i < ARRAY_SIZE(buttons); i++) { in ucb1x00_assabet_add()
49 buttons[i].code = BTN_0 + i; in ucb1x00_assabet_add()
50 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add()
51 buttons[i].type = EV_KEY; in ucb1x00_assabet_add()
52 buttons[i].can_disable = true; in ucb1x00_assabet_add()
55 keys.buttons = buttons; in ucb1x00_assabet_add()
56 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add()
/openbmc/docs/designs/
H A Dmultihost-phosphor-buttons.md1 # Multi-host front panel phosphor buttons interface
12 Phosphor buttons module has currently option to monitor gpio events of power and
13 reset buttons and trigger power event handlers.
15 phosphor-buttons currently only support push type buttons.support for different
16 form factor inputs such as switches/MUX other than push type buttons are needed
28 corresponding to platform specific hardware buttons/MUX/Switches which are
34 The front panel of bmc has buttons like power button, reset button in general
35 the code for monitoring these buttons and triggering actions are supported.
54 platform specific front panel may contain additional hardware buttons or mux
92 There are two additional hardware buttons/switch available in the frontpanel for
[all …]
/openbmc/phosphor-buttons/
H A Dmeson_config.hpp.in7 "/xyz/openbmc_project/Chassis/Buttons/Power0";
9 "/xyz/openbmc_project/Chassis/Buttons/Reset0";
11 "/xyz/openbmc_project/Chassis/Buttons/ID0";
13 "/xyz/openbmc_project/Chassis/Buttons/HostSelector";
15 "/xyz/openbmc_project/Chassis/Buttons/DebugHostSelector";
17 "/xyz/openbmc_project/Chassis/Buttons/SerialUartMux";
/openbmc/u-boot/arch/mips/mach-bmips/
H A DKconfig137 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
148 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
159 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
170 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
181 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
192 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
203 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
214 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
225 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a
236 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
[all …]
/openbmc/linux/Documentation/input/devices/
H A Dxpad.rst10 Due to backwards compatibility all buttons are reported as digital.
12 have only digital face buttons.
23 The number of buttons/axes reported varies based on 3 things:
28 module configuration for "Map D-PAD to buttons rather than axes for unknown
33 If you said Y it will map the d-pad to buttons, which is needed for dance
47 axes and 10 buttons.
54 All of the 10 buttons work (in digital mode). The six buttons on the
66 When using a known dance pad, jstest will report 6 axes and 14 buttons.
73 Known dance pads automatically map the d-pad to buttons and will work
77 of buttons, see section 0.3 - Unknown Controllers
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dlogibm.c61 unsigned char buttons; in logibm_interrupt() local
70 buttons = inb(LOGIBM_DATA_PORT); in logibm_interrupt()
71 dy |= (buttons & 0xf) << 4; in logibm_interrupt()
72 buttons = ~buttons >> 5; in logibm_interrupt()
76 input_report_key(logibm_dev, BTN_RIGHT, buttons & 1); in logibm_interrupt()
77 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2); in logibm_interrupt()
78 input_report_key(logibm_dev, BTN_LEFT, buttons & 4); in logibm_interrupt()
H A Datarimouse.c65 int buttons, dx, dy; in atamouse_interrupt() local
67 buttons = (buf[0] & 1) | ((buf[0] & 2) << 1); in atamouse_interrupt()
69 buttons |= atari_mouse_buttons & 2; in atamouse_interrupt()
70 atari_mouse_buttons = buttons; in atamouse_interrupt()
80 input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x4); in atamouse_interrupt()
81 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2); in atamouse_interrupt()
82 input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x1); in atamouse_interrupt()
/openbmc/phosphor-buttons/service_files/
H A Dxyz.openbmc_project.Chassis.Buttons.service2 Description=Phosphor Buttons
7 ExecStart=/usr/bin/buttons
8 SyslogIdentifier=buttons
10 BusName=xyz.openbmc_project.Chassis.Buttons
/openbmc/openbmc/meta-phosphor/recipes-phosphor/chassis/
H A Dobmc-phosphor-buttons_git.bb1 SUMMARY = "OpenBMC Buttons"
2 DESCRIPTION = "OpenBMC All buttons"
19 SRC_URI = "git://github.com/openbmc/phosphor-buttons.git;branch=master;protocol=https"
24 SYSTEMD_SERVICE:${PN}-signals = "xyz.openbmc_project.Chassis.Buttons.service"
29 FILES:${PN}-signals = "${bindir}/buttons"
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/
H A DREADME.md9 Power button interface `xyz.openbmc_project.Chassis.Buttons.Power` provides
25 ID button interface `xyz.openbmc_project.Chassis.Buttons.ID` provides following
39 ID button interface `xyz.openbmc_project.Chassis.Buttons.Reset` provides
53 Selector button interface `xyz.openbmc_project.Chassis.Buttons.HostSelector`
/openbmc/qemu/ui/
H A Dinput-legacy.c41 int buttons; member
128 s->buttons |= bmap[btn->button]; in legacy_mouse_event()
130 s->buttons &= ~bmap[btn->button]; in legacy_mouse_event()
137 s->buttons); in legacy_mouse_event()
144 s->buttons); in legacy_mouse_event()
151 s->buttons); in legacy_mouse_event()
158 s->buttons); in legacy_mouse_event()
182 s->buttons); in legacy_mouse_sync()
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/
H A Dtest_factory_reset_sub_menu.robot36 Verify Existence Of All Buttons In Factory Reset Page
37 [Documentation] Verify existence of all buttons in factory reset page.
43 Verify Existence Of All Radio Buttons In Factory Reset Page
44 [Documentation] Verify existence of all radio buttons in factory reset page.
/openbmc/linux/drivers/misc/ibmasm/
H A Dremote.c125 unsigned char buttons = input->mouse_buttons; in print_input() local
128 (buttons) ? " -- buttons:" : "", in print_input()
129 (buttons & REMOTE_BUTTON_LEFT) ? "left " : "", in print_input()
130 (buttons & REMOTE_BUTTON_MIDDLE) ? "middle " : "", in print_input()
131 (buttons & REMOTE_BUTTON_RIGHT) ? "right" : "" in print_input()
146 unsigned char buttons = input->mouse_buttons; in send_mouse_event() local
150 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT); in send_mouse_event()
151 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event()
152 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT); in send_mouse_event()
/openbmc/linux/include/linux/
H A Dgpio_keys.h41 * @buttons: pointer to array of &gpio_keys_button structures
42 * describing buttons attached to the device
43 * @nbuttons: number of elements in @buttons array
51 const struct gpio_keys_button *buttons; member
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/images/
H A Dfb-catalina-phosphor-image.inc3 # Enable obmc-phosphor-buttons which needed by debug card function.
5 obmc-phosphor-buttons-signals \
6 obmc-phosphor-buttons-handler \
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/images/
H A Dfb-harma-phosphor-image.inc23 # Enable obmc-phosphor-buttons which needed by debug card function.
25 obmc-phosphor-buttons-signals \
26 obmc-phosphor-buttons-handler \
/openbmc/linux/drivers/input/
H A Dmousedev.c55 unsigned long buttons; member
90 unsigned long buttons; member
253 set_bit(index, &mousedev->packet.buttons); in mousedev_key_event()
254 set_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
256 clear_bit(index, &mousedev->packet.buttons); in mousedev_key_event()
257 clear_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
276 if (client->ready && p->buttons != mousedev->packet.buttons) { in mousedev_notify_readers()
300 p->buttons = mousedev->packet.buttons; in mousedev_notify_readers()
303 p->buttons != client->last_buttons) in mousedev_notify_readers()
330 set_bit(0, &mousedev->packet.buttons); in mousedev_touchpad_touch()
[all …]

12345678910>>...26