Home
last modified time | relevance | path

Searched +full:button +full:- (Results 1 – 25 of 1043) sorted by relevance

12345678910>>...42

/OK3568_Linux_fs/external/xserver/include/
H A Dxserver-properties.h17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
29 * byte-ordering. */
35 /* BOOL. 0 - device disabled, 1 - device enabled */
42 * drivers. Read-Only */
46 * FLOAT, 9 values in row-major order, coordinates in 0..1 range:
126 /* Button names */
127 #define BTN_LABEL_PROP "Button Labels"
130 #define BTN_LABEL_PROP_BTN_UNKNOWN "Button Unknown"
132 #define BTN_LABEL_PROP_BTN_WHEEL_UP "Button Wheel Up"
133 #define BTN_LABEL_PROP_BTN_WHEEL_DOWN "Button Wheel Down"
[all …]
/OK3568_Linux_fs/app/qsetting/
H A Dqtkeyboard.cpp18 ui->setupUi(this); in QKeyBoard()
19 ui->btna->setProperty("btnLetter", true); in QKeyBoard()
20 ui->btnb->setProperty("btnLetter", true); in QKeyBoard()
21 ui->btnc->setProperty("btnLetter", true); in QKeyBoard()
22 ui->btnd->setProperty("btnLetter", true); in QKeyBoard()
23 ui->btne->setProperty("btnLetter", true); in QKeyBoard()
24 ui->btnf->setProperty("btnLetter", true); in QKeyBoard()
25 ui->btng->setProperty("btnLetter", true); in QKeyBoard()
26 ui->btnh->setProperty("btnLetter", true); in QKeyBoard()
27 ui->btni->setProperty("btnLetter", true); in QKeyBoard()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dbutton.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * button.c - ACPI Button Driver
9 #define pr_fmt(fmt) "ACPI: button: " fmt
22 #include <acpi/button.h>
26 #define ACPI_BUTTON_CLASS "button"
32 #define ACPI_BUTTON_DEVICE_NAME_POWER "Power Button"
36 #define ACPI_BUTTON_DEVICE_NAME_SLEEP "Sleep Button"
58 ACPI_MODULE_NAME("button");
61 MODULE_DESCRIPTION("ACPI Button Driver");
77 /* GP-electronic T701, _LID method points to a floating GPIO */
[all …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dgpio_keys_polled.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org>
26 #define DRV_NAME "gpio-keys-polled"
45 const struct gpio_keys_button *button, in gpio_keys_button_event() argument
49 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event()
53 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
54 __set_bit(button->code, bdev->rel_axis_seen); in gpio_keys_button_event()
58 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
59 __set_bit(button->code, bdev->abs_axis_seen); in gpio_keys_button_event()
62 input_event(input, type, button->code, state); in gpio_keys_button_event()
[all …]
H A Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #include <dt-bindings/input/gpio-keys.h>
33 const struct gpio_keys_button *button; member
40 unsigned int release_delay; /* in msecs, for IRQ-only buttons */
43 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */
64 * There are 4 attributes under /sys/devices/platform/gpio-keys/
65 * keys [ro] - bitmap of keys (EV_KEY) which can be
67 * switches [ro] - bitmap of switches (EV_SW) which can be
69 * disabled_keys [rw] - bitmap of keys currently disabled
70 * disabled_switches [rw] - bitmap of switches currently disabled
[all …]
H A Dqt1050.c1 // SPDX-License-Identifier: GPL-2.0
229 regmap_read(ts->regmap, QT1050_CHIP_ID, &val); in qt1050_identify()
231 dev_err(&ts->client->dev, "ID %d not supported\n", val); in qt1050_identify()
236 err = regmap_read(ts->regmap, QT1050_FW_VERSION, &val); in qt1050_identify()
238 dev_err(&ts->client->dev, "could not read the firmware version\n"); in qt1050_identify()
242 dev_info(&ts->client->dev, "AT42QT1050 firmware version %1d.%1d\n", in qt1050_identify()
251 struct input_dev *input = ts->input; in qt1050_irq_threaded()
257 err = regmap_read(ts->regmap, QT1050_DET_STATUS, &val); in qt1050_irq_threaded()
259 dev_err(&ts->client->dev, "Fail to read detection status: %d\n", in qt1050_irq_threaded()
265 err = regmap_read(ts->regmap, QT1050_KEY_STATUS, &val); in qt1050_irq_threaded()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dcpcap-pwrbutton.c2 * CPCAP Power Button Input Driver
25 #include <linux/mfd/motorola-cpcap.h>
38 struct cpcap_power_button *button = _button; in powerbutton_irq() local
41 val = cpcap_sense_virq(button->regmap, irq); in powerbutton_irq()
43 dev_err(button->dev, "irq read failed: %d", val); in powerbutton_irq()
47 pm_wakeup_event(button->dev, 0); in powerbutton_irq()
48 input_report_key(button->idev, KEY_POWER, val); in powerbutton_irq()
49 input_sync(button->idev); in powerbutton_irq()
56 struct cpcap_power_button *button; in cpcap_power_button_probe() local
60 button = devm_kmalloc(&pdev->dev, sizeof(*button), GFP_KERNEL); in cpcap_power_button_probe()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 reporting power button status.
31 reporting power button status.
40 Say Y here to use the PowerOn Key for ST-Ericsson's AB8500
41 Mix-Sig PMIC.
44 will be called ab8500-ponkey.
64 module will be called ad714x-i2c.
74 module will be called ad714x-spi.
84 module will be called arizona-haptics.
87 tristate "Atmel Capacitive Touch Button Driver"
[all …]
H A Dpalmas-pwrbutton.c2 * Texas Instruments' Palmas Power Button Input Driver
4 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/
33 * struct palmas_pwron - Palmas power on data
47 * struct palmas_pwron_config - configuration of palmas power on
49 * @pwron_debounce_val: value for debounce of power button
57 * palmas_power_button_work() - Detects the button release event
58 * @work: work item to detect button release
65 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work()
69 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work()
72 dev_err(input_dev->dev.parent, in palmas_power_button_work()
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dsurfacepro3_button.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * power/home/volume button support for
16 #include <acpi/button.h>
43 ACPI_MODULE_NAME("surface pro 3 button");
46 MODULE_DESCRIPTION("Surface Pro3 Button Driver");
50 * Power button, Home button, Volume buttons support is supposed to
78 struct surface_button *button = acpi_driver_data(device); in surface_button_notify() local
84 /* Power button press,release handle */ in surface_button_notify()
91 /* Home button press,release handle */ in surface_button_notify()
98 /* Volume up button press,release handle */ in surface_button_notify()
[all …]
H A Dxo15-ebook.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * OLPC XO-1.5 ebook switch driver
4 * (based on generic ACPI button driver)
19 #define MODULE_NAME "xo15-ebook"
31 MODULE_DESCRIPTION("OLPC XO-1.5 ebook switch driver");
47 struct ebook_switch *button = acpi_driver_data(device); in ebook_send_state() local
51 status = acpi_evaluate_integer(device->handle, "EBK", NULL, &state); in ebook_send_state()
53 return -EIO; in ebook_send_state()
56 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state()
57 input_sync(button->input); in ebook_send_state()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinmouse.c2 *Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved.
35 #include <xwin-config.h>
40 #include "exevents.h" /* for button/axes labels */
41 #include "xserver-properties.h"
44 /* Peek the internal button mapping */
60 * See Porting Layer Definition - p. 18
103 /* initalize button map */ in winMouseProc()
129 g_winMouseButtonMap = pDeviceInt->button->map; in winMouseProc()
133 pDevice->on = TRUE; in winMouseProc()
140 pDevice->on = FALSE; in winMouseProc()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dsun4i-a10-inet9f-rev03.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
49 #include <dt-bindings/pinctrl/sun4i-a10.h>
52 model = "iNet-9F Rev 03";
53 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10";
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/devices/
H A Dsentelic.rst8 :Copyright: |copy| 2002-2011 Sentelic Corporation.
10 :Last update: Dec-07-2011
15 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward
16 page (5th button)
28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------|
30 |---------------| |---------------| |---------------| |---------------|
37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed.
38 Bit1 => Right Button, 1 is pressed, 0 is not pressed.
39 Bit0 => Left Button, 1 is pressed, 0 is not pressed.
40 Byte 2: X Movement(9-bit 2's complement integers)
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/
H A Dgamepad.rst1 ---------------------------
3 ---------------------------
11 having user-space deal with different button-mappings for each gamepad, this
25 | <===DP===> |SE| |ST| (W) -|- (E) | |
35 D-Pad Left Right Action Pad
43 - Action-Pad
44 4 buttons in diamonds-shape (on the right side). The buttons are
47 - D-Pad (Direction-pad)
49 - Menu-Pad
50 Different constellations, but most-times 2 buttons: SELECT - START
[all …]
/OK3568_Linux_fs/app/forlinx/forlinx_qt/ubootmenu/
H A Dmainwindow.cpp17 ui->setupUi(this); in MainWindow()
26 ui->video_mipi->setText(tr("video-mipi:on")); in MainWindow()
28 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
29 ui->video_mipi->setPalette(pal); in MainWindow()
31 ui->video_edp->setText(tr("video-edp:off")); in MainWindow()
32 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
33 ui->video_edp->setPalette(pal); in MainWindow()
35 ui->video_edp->setText(tr("video-edp:on")); in MainWindow()
37 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
38 ui->video_edp->setPalette(pal); in MainWindow()
[all …]
/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/ubootmenu/
H A Dmainwindow.cpp17 ui->setupUi(this); in MainWindow()
26 ui->video_mipi->setText(tr("video-mipi:on")); in MainWindow()
28 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
29 ui->video_mipi->setPalette(pal); in MainWindow()
31 ui->video_edp->setText(tr("video-edp:off")); in MainWindow()
32 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
33 ui->video_edp->setPalette(pal); in MainWindow()
35 ui->video_edp->setText(tr("video-edp:on")); in MainWindow()
37 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
38 ui->video_edp->setPalette(pal); in MainWindow()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/
H A Dproject_specific_topbar.html19 <div class="col-md-12">
20 …<div class="alert alert-success alert-dismissible change-notification" id="project-created-notific…
21 <button type="button" class="close" data-dismiss="alert">&times;</button>
22 … can now <a class="alert-link" href="{% url 'projectmachines' project.id %}">select your target ma…
24 <!-- project name -->
25 <div class="page-header">
26 <h1 id="project-name-container">
27 <span class="project-name">{{project.name}}</span>
29 …<span class="glyphicon glyphicon-question-sign get-help" title="This project shows information abo…
32 <form id="project-name-change-form" class="form-inline" style="display: none;">
[all …]
H A Dcustomrecipe.html44 <!-- Delete recipe modal -->
45 <div id="delete-recipe-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myMod…
46 <div class="modal-dialog">
47 <div class="modal-content">
48 <div class="modal-body">
52 <div class="modal-footer">
53 <button type="button" class="btn btn-primary" id="delete-custom-recipe-confirmed">
54 <span data-role="submit-state">Delete custom image</span>
55 <span data-role="loading-state" style="display:none">
56 <span class="fa-pulse">
[all …]
H A Dproject_specific.html7 {% block title %} Configuration - {{project.name}} - Toaster {% endblock %}
27 <div id="delete-project-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static…
28 <div class="modal-dialog">
29 <div class="modal-content">
30 <div class="modal-header">
33 <div class="modal-body">
34 <p>Deleting the <strong class="project-name"></strong> project
44 <div class="modal-footer">
45 <button type="button" class="btn btn-primary" id="delete-project-confirmed">
46 <span data-role="submit-state">Delete project</span>
[all …]
H A Dproject.html7 {% block title %} Configuration - {{project.name}} - Toaster {% endblock %}
27 <div id="delete-project-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static…
28 <div class="modal-dialog">
29 <div class="modal-content">
30 <div class="modal-header">
33 <div class="modal-body">
34 <p>Deleting the <strong class="project-name"></strong> project
44 <div class="modal-footer">
45 <button type="button" class="btn btn-primary" id="delete-project-confirmed">
46 <span data-role="submit-state">Delete project</span>
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/manual/
H A Dtoaster-managed-mode.json4 "@alias": "toaster-managed-mode.toaster-managed.All_layers:_default_view",
17 …e click on the \"View compatible layers\" link situated on the right-hand side, mid-page, under th…
21 …ion": "Check that the table is populated with the default layers (eg. meta-yocto-bsp, meta-yocto)",
33 …heck that only one instance of the core layers (openembedded-core, meta-yocto and meta-yocto-bsp) …
50 "@alias": "toaster-managed-mode.toaster-managed.All_layers:_Add/delete_layers",
63 …e click on the \"View compatible layers\" link situated on the right-hand side, mid-page, under th…
71button present in the \"Add/delete\" column. \nIf the layer has unsatisfied dependencies a dialog …
75button fades out and is replaced temporarily by a message like \"1 layer added\" and then it is re…
79button present in the \"Add/delete\" column. \nCheck that once the button is pressed, it fades out…
88 "@alias": "toaster-managed-mode.toaster-managed.All_targets:_Default_view",
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dgpio-mouse.txt1 Device-Tree bindings for GPIO attached mice
4 to 5-7 GPIO lines.
7 - compatible: must be "gpio-mouse"
8 - scan-interval-ms: The scanning interval in milliseconds
9 - up-gpios: GPIO line phandle to the line indicating "up"
10 - down-gpios: GPIO line phandle to the line indicating "down"
11 - left-gpios: GPIO line phandle to the line indicating "left"
12 - right-gpios: GPIO line phandle to the line indicating "right"
15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-ixp4xx/
H A Ddsmg600-setup.c1 // SPDX-License-Identifier: GPL-2.0
3 * DSM-G600 board-setup
8 * based on ixdp425-setup.c:
9 * Copyright (C) 2003-2004 MontaVista Software, Inc.
10 * based on nslu2-power.c:
12 * based on nslu2-io.c:
18 * Maintainers: http://www.nslu2-linux.org/
33 #include <asm/mach-types.h>
43 /* DSM-G600 Timer Setting */
47 #define DSMG600_PB_GPIO 15 /* power button */
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Dgcw0.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include <dt-bindings/clock/ingenic,tcu.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/iio/adc/ingenic,adc.h>
9 #include <dt-bindings/input/input.h>
29 stdout-path = "serial2:57600n8";
33 compatible = "regulator-fixed";
34 regulator-name = "vcc";
36 regulator-min-microvolt = <3300000>;
[all …]

12345678910>>...42