Home
last modified time | relevance | path

Searched full:button (Results 1 – 25 of 1463) sorted by relevance

12345678910>>...59

/OK3568_Linux_fs/external/xserver/include/
H A Dxserver-properties.h126 /* 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"
134 #define BTN_LABEL_PROP_BTN_HWHEEL_LEFT "Button Horiz Wheel Left"
135 #define BTN_LABEL_PROP_BTN_HWHEEL_RIGHT "Button Horiz Wheel Right"
138 #define BTN_LABEL_PROP_BTN_0 "Button 0"
139 #define BTN_LABEL_PROP_BTN_1 "Button 1"
140 #define BTN_LABEL_PROP_BTN_2 "Button 2"
[all …]
/OK3568_Linux_fs/app/qsetting/
H A Dqtkeyboard.cpp55 foreach (QPushButton *button, btns) { in QKeyBoard()
56 connect(button, SIGNAL(clicked()), this, SLOT(btn_clicked())); in QKeyBoard()
57 button->setFont(font); in QKeyBoard()
72 foreach (QPushButton *button, buttons) { in changeInputType()
73 if (button->property("btnLetter").toBool()) { in changeInputType()
75 button->setText(button->text().toUpper()); in changeInputType()
77 button->setText(button->text().toLower()); in changeInputType()
78 } else if(! button->objectName().compare("btnApostrophe")){ in changeInputType()
79 button->setText(on?"\"":"\'"); in changeInputType()
80 } else if(! button->objectName().compare("btnBackslash")){ in changeInputType()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dbutton.c3 * 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");
135 .name = "button",
185 struct acpi_button *button = acpi_driver_data(device); in acpi_lid_notify_state() local
[all …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dgpio_keys_polled.c45 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()
68 const struct gpio_keys_button *button, in gpio_keys_polled_check_state() argument
78 gpio_keys_button_event(input, button, state); in gpio_keys_polled_check_state()
146 struct gpio_keys_button *button; in gpio_keys_polled_get_devtree_pdata() local
[all …]
H A Dgpio_keys.c33 const struct gpio_keys_button *button; member
97 * @type: type of button (%EV_KEY, %EV_SW)
112 * @type: type of button (%EV_KEY, %EV_SW)
126 * gpio_keys_disable_button() - disables given GPIO button
127 * @bdata: button data for button to be disabled
129 * Disables button pointed by @bdata. This is done by masking
130 * IRQ line. After this function is called, button won't generate
156 * gpio_keys_enable_button() - enables given GPIO button
157 * @bdata: button data for button to be disabled
159 * Enables given button pointed by @bdata.
[all …]
H A Dqt1050.c304 struct qt1050_key *button = &ts->keys[0]; in qt1050_apply_fw_data() local
315 for (i = 0; i < QT1050_MAX_KEYS; i++, button++) { in qt1050_apply_fw_data()
317 if (button->keycode == KEY_RESERVED) in qt1050_apply_fw_data()
320 err = qt1050_set_key(map, button->num, 1); in qt1050_apply_fw_data()
324 key_regs = qt1050_get_key_regs(button->num); in qt1050_apply_fw_data()
327 (button->samples << 4) | (button->scale)); in qt1050_apply_fw_data()
330 err = regmap_write(map, key_regs->csd, button->charge_delay); in qt1050_apply_fw_data()
333 err = regmap_write(map, key_regs->nthr, button->thr_cnt); in qt1050_apply_fw_data()
352 struct qt1050_key button; in qt1050_parse_fw() local
356 &button.keycode)) { in qt1050_parse_fw()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dcpcap-pwrbutton.c2 * CPCAP Power Button Input Driver
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()
61 if (!button) in cpcap_power_button_probe()
[all …]
H A DKconfig21 reporting power button status.
31 reporting power button status.
87 tristate "Atmel Capacitive Touch Button Driver"
91 Say Y here if an Atmel Capacitive Touch Button device which
111 tristate "NI Ettus Research USRP E3xx Button support."
115 USRP E3xx Button.
208 reporting power button status.
230 reporting power button status.
303 tristate "Cobalt button interface"
306 Say Y here if you want to support MIPS Cobalt button interface.
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dsurfacepro3_button.c3 * 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()
105 /* Volume down button press,release handle */ in surface_button_notify()
[all …]
H A Dxo15-ebook.c4 * (based on generic ACPI button driver)
47 struct ebook_switch *button = acpi_driver_data(device); in ebook_send_state() local
56 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state()
57 input_sync(button->input); in ebook_send_state()
86 struct ebook_switch *button; in ebook_switch_add() local
92 button = kzalloc(sizeof(struct ebook_switch), GFP_KERNEL); in ebook_switch_add()
93 if (!button) in ebook_switch_add()
96 device->driver_data = button; in ebook_switch_add()
98 button->input = input = input_allocate_device(); in ebook_switch_add()
116 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid); in ebook_switch_add()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinmouse.c40 #include "exevents.h" /* for button/axes labels */
44 /* Peek the internal button mapping */
103 /* initalize button map */ in winMouseProc()
129 g_winMouseButtonMap = pDeviceInt->button->map; in winMouseProc()
150 int button; in winMouseWheel() local
189 /* Set the button to indicate up or down wheel delta */ in winMouseWheel()
191 button = iButtonUp; in winMouseWheel()
194 button = iButtonDown; in winMouseWheel()
200 * button clicks for the Z axis. in winMouseWheel()
208 /* Push the wheel button */ in winMouseWheel()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dsun4i-a10-inet9f-rev03.dts71 button@0 {
79 button@1 {
87 button@2 {
95 button@3 {
103 button@4 {
111 button@5 {
119 button@6 {
127 button@7 {
135 button@8 {
143 button@9 {
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/devices/
H A Dsentelic.rst15 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward
16 page (5th button)
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.
44 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
45 0 = 4th mouse button is not pressed.
46 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
47 0 = 5th mouse button is not pressed.
69 Bit2 => Middle Button, 1 is pressed, 0 is not pressed.
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/
H A Dgamepad.rst11 having user-space deal with different button-mappings for each gamepad, this
51 Furthermore, many gamepads have a fancy branded button that is used as
52 special system-button. It often looks different to the other buttons and
57 Analog-sticks may also provide a digital button if you press them.
106 Please note that 2- and 3-button pads are fairly rare and old. You might
109 - 2-Button Pad:
112 BTN_EAST. For vertical layouts, the upper button is BTN_EAST. For
113 horizontal layouts, the button more on the right is BTN_EAST.
115 - 3-Button Pad:
122 - 4-Button Pad:
[all …]
/OK3568_Linux_fs/app/forlinx/forlinx_qt/ubootmenu/
H A Dmainwindow.cpp28 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
32 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
37 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
41 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
46 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
50 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
61 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
66 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
77 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
82 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
[all …]
/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/ubootmenu/
H A Dmainwindow.cpp28 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
32 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
37 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
41 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
46 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
50 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
61 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
66 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
77 pal.setColor(QPalette::Button, Qt::green); in MainWindow()
82 pal.setColor(QPalette::Button, Qt::red); in MainWindow()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/
H A Dproject_specific_topbar.html21 <button type="button" class="close" data-dismiss="alert">&times;</button>
36 … <button id="project-name-change-btn" class="btn btn-default btn-lg" type="button">Save</button>
70 …<button id="update-project-button" class="btn btn-primary btn-lg" data-project-id="{{project.id}}"…
72 …<button id="cancel-project-button" class="btn info btn-lg" data-project-id="{{project.id}}">Cancel…
73 …<button id="update-project-button" class="btn btn-primary btn-lg" data-project-id="{{project.id}}"…
H A Dcustomrecipe.html53 <button type="button" class="btn btn-primary" id="delete-custom-recipe-confirmed">
61 </button>
62 <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>
74 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
85 …<button id="add-package-deps-modal-btn" type="submit" class="btn btn-primary" data-dismiss="modal"…
86 <button class="btn btn-link" data-dismiss="modal">Cancel</button>
98 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
109button id="rm-package-reverse-deps-modal-btn" type="submit" class="btn btn-primary" data-dismiss="…
110 <button class="btn btn-link" data-dismiss="modal">Cancel</button>
118 <button type="button" data-dismiss="alert" class="close">&times;</button>
[all …]
H A Dproject_specific.html45 <button type="button" class="btn btn-primary" id="delete-project-confirmed">
53 </button>
54 <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>
73 <button id="machine-change-btn" class="btn btn-default" type="button">Save</button>
90 <button id="distro-change-btn" class="btn btn-default" type="button">Save</button>
106 …<button class="btn btn-primary" id="freq-build-btn" disabled="disabled">Build selected recipes</bu…
123 …<button class="btn" style="margin-left:5px;" id="change-release-btn">Change</button> <a href="#" i…
149 <button id="add-layer-btn" class="btn btn-default" disabled>Add layer</button>
H A Dproject.html45 <button type="button" class="btn btn-primary" id="delete-project-confirmed">
53 </button>
54 <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>
73 <button id="machine-change-btn" class="btn btn-default" type="button">Save</button>
90 <button id="distro-change-btn" class="btn btn-default" type="button">Save</button>
107 …<button class="btn btn-primary" id="freq-build-btn" disabled="disabled">Build selected recipes</bu…
125 …<button class="btn" style="margin-left:5px;" id="change-release-btn">Change</button> <a href="#" i…
151 <button id="add-layer-btn" class="btn btn-default" disabled>Add layer</button>
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/manual/
H A Dtoaster-managed-mode.json71button present in the \"Add/delete\" column. \nIf the layer has unsatisfied dependencies a dialog …
75 … layer\" button fades out and is replaced temporarily by a message like \"1 layer added\" and then…
79button present in the \"Add/delete\" column. \nCheck that once the button is pressed, it fades out…
101 … \"core-image-minimal\" in the \"Recipes\" field and press the \"Build\" button. Wait for the imag…
143 …fault text \"Type variable value\" present and that the \"Add variable\" button is inactive. \n\n",
173 … \n\t- check that, if you delete the content of the text field, the save button is disabled \n\t- …
185 …mage types found\" \n\t- unselect all checkboxes and check that the save button is disabled and a …
189 …ted with the current value of the variable. \n\n\t- check that the save button is disabled when t…
205button that is disabled until both text fields have some input in them. \n \n\t- check variable n…
209button is disabled \n\t- check that the added variable has a \"change\" icon present next to the v…
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dgpio-mouse.txt15 - button-left-gpios: GPIO line handle to the left mouse button
16 - button-middle-gpios: GPIO line handle to the middle mouse button
17 - button-right-gpios: GPIO line handle to the right mouse button
29 button-left-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
30 button-middle-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
31 button-right-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
/OK3568_Linux_fs/kernel/arch/arm/mach-ixp4xx/
H A Ddsmg600-setup.c47 #define DSMG600_PB_GPIO 15 /* power button */
48 #define DSMG600_RB_GPIO 3 /* reset button */
176 /* This is used to make sure the power-button pusher is serious. The button
181 /* Must hold the button down for at least this many counts to be processed */
190 * state of the power button. in dsmg600_power_handler()
195 /* IO Pin is 1 (button pushed) */ in dsmg600_power_handler()
201 /* Done on button release, to allow for auto-power-on mods. */ in dsmg600_power_handler()
241 gpio_request(DSMG600_RB_GPIO, "reset button"); in dsmg600_gpio_init()
243 IRQF_TRIGGER_LOW, "DSM-G600 reset button", NULL) < 0) { in dsmg600_gpio_init()
245 printk(KERN_DEBUG "Reset Button IRQ %d not available\n", in dsmg600_gpio_init()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/boot/dts/ingenic/
H A Dgcw0.dts139 button@0 {
146 button@1 {
153 button@2 {
160 button@3 {
167 button@4 {
168 label = "Button A";
174 button@5 {
175 label = "Button B";
181 button@6 {
182 label = "Button Y";
[all …]
/OK3568_Linux_fs/u-boot/scripts/kconfig/lxdialog/
H A Dinputbox.c36 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local
110 if (button == -1) { /* Input box selected */ in dialog_inputbox()
232 switch (button) { in dialog_inputbox()
234 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
238 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
244 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
252 switch (button) { in dialog_inputbox()
254 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
258 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
262 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
[all …]

12345678910>>...59