/dports/emulators/cannonball/cannonball-0.34/src/main/sdl2/ |
H A D | input.cpp | 128 bool Input::is_pressed(presses p) in is_pressed() function in Input 160 if (key == key_config[0]) keys[UP] = is_pressed; in handle_key() 161 if (key == key_config[1]) keys[DOWN] = is_pressed; in handle_key() 162 if (key == key_config[2]) keys[LEFT] = is_pressed; in handle_key() 163 if (key == key_config[3]) keys[RIGHT] = is_pressed; in handle_key() 169 if (key == key_config[9]) keys[COIN] = is_pressed; in handle_key() 170 if (key == key_config[10]) keys[MENU] = is_pressed; in handle_key() 177 keys[PAUSE] = is_pressed; in handle_key() 181 keys[STEP] = is_pressed; in handle_key() 185 keys[TIMER] = is_pressed; in handle_key() [all …]
|
/dports/net/wayvnc/wayvnc-0.4.1/src/ |
H A D | keyboard.c | 143 bool is_pressed MAYBE_UNUSED = in keyboard__dump_entry() 271 bool is_pressed) in keyboard_apply_mods() argument 359 bool is_pressed, int level) in send_key_with_level() argument 374 send_key(self, code, is_pressed); in send_key_with_level() 381 bool is_pressed) in update_key_state() argument 384 if (was_pressed == is_pressed) in update_key_state() 387 if (is_pressed) in update_key_state() 425 send_key(self, entry->code, is_pressed); in keyboard_feed() 432 bool is_pressed) in keyboard_feed_code() argument 435 keyboard_apply_mods(self, code, is_pressed); in keyboard_feed_code() [all …]
|
/dports/x11/mate-applet-appmenu/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/subprojects/appmenu-gtk-module/tests/demos/ |
H A D | altmonitor.c | 43 gboolean is_pressed; member 87 gboolean is_pressed; in alt_monitor_event_filter() local 89 is_pressed = (sn_event->mods & Mod1Mask) != 0; in alt_monitor_event_filter() 91 if (is_pressed != monitor->is_pressed) in alt_monitor_event_filter() 93 monitor->is_pressed = is_pressed; in alt_monitor_event_filter() 108 g_value_set_boolean(value, monitor->is_pressed); in alt_monitor_get_property() 185 monitor->is_pressed = (state.mods & Mod1Mask) != 0; in alt_monitor_new() 241 return monitor->is_pressed; in alt_monitor_get_alt_pressed()
|
/dports/x11/appmenu-registrar/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/subprojects/appmenu-gtk-module/tests/demos/ |
H A D | altmonitor.c | 43 gboolean is_pressed; member 87 gboolean is_pressed; in alt_monitor_event_filter() local 89 is_pressed = (sn_event->mods & Mod1Mask) != 0; in alt_monitor_event_filter() 91 if (is_pressed != monitor->is_pressed) in alt_monitor_event_filter() 93 monitor->is_pressed = is_pressed; in alt_monitor_event_filter() 108 g_value_set_boolean(value, monitor->is_pressed); in alt_monitor_get_property() 185 monitor->is_pressed = (state.mods & Mod1Mask) != 0; in alt_monitor_new() 241 return monitor->is_pressed; in alt_monitor_get_alt_pressed()
|
/dports/x11/gtk-app-menu/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/subprojects/appmenu-gtk-module/tests/demos/ |
H A D | altmonitor.c | 43 gboolean is_pressed; member 87 gboolean is_pressed; in alt_monitor_event_filter() local 89 is_pressed = (sn_event->mods & Mod1Mask) != 0; in alt_monitor_event_filter() 91 if (is_pressed != monitor->is_pressed) in alt_monitor_event_filter() 93 monitor->is_pressed = is_pressed; in alt_monitor_event_filter() 108 g_value_set_boolean(value, monitor->is_pressed); in alt_monitor_get_property() 185 monitor->is_pressed = (state.mods & Mod1Mask) != 0; in alt_monitor_new() 241 return monitor->is_pressed; in alt_monitor_get_alt_pressed()
|
/dports/x11/xfce4-appmenu-plugin/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/subprojects/appmenu-gtk-module/tests/demos/ |
H A D | altmonitor.c | 43 gboolean is_pressed; member 87 gboolean is_pressed; in alt_monitor_event_filter() local 89 is_pressed = (sn_event->mods & Mod1Mask) != 0; in alt_monitor_event_filter() 91 if (is_pressed != monitor->is_pressed) in alt_monitor_event_filter() 93 monitor->is_pressed = is_pressed; in alt_monitor_event_filter() 108 g_value_set_boolean(value, monitor->is_pressed); in alt_monitor_get_property() 185 monitor->is_pressed = (state.mods & Mod1Mask) != 0; in alt_monitor_new() 241 return monitor->is_pressed; in alt_monitor_get_alt_pressed()
|
/dports/games/abuse_sdl/abuse-0.8/src/ |
H A D | configuration.cpp | 152 #define is_pressed(x) the_game->key_down(x) macro 170 if( is_pressed( key_map[player].left ) ) in get_movement() 172 else if( is_pressed( key_map[player].right ) ) in get_movement() 177 if( is_pressed( key_map[player].up ) ) in get_movement() 179 else if( is_pressed( key_map[player].down ) ) in get_movement() 183 if( is_pressed( key_map[player].b1 ) ) in get_movement() 188 if( is_pressed( key_map[player].b2 ) ) in get_movement() 193 if( is_pressed( key_map[player].b3 ) ) in get_movement() 198 if( is_pressed( key_map[player].b4 ) ) in get_movement()
|
/dports/x11-wm/wayfire/wayfire-0.7.0/plugins/decor/ |
H A D | deco-button.cpp | 34 if (!this->is_pressed) in set_hover() 52 void button_t::set_pressed(bool is_pressed) in set_pressed() argument 54 this->is_pressed = is_pressed; in set_pressed() 55 if (is_pressed) in set_pressed()
|
/dports/devel/godot-tools/godot-demo-projects-8d9d58f112d8/2d/tween/ |
H A D | main.gd | 74 if $Modes/Pause.is_pressed(): 93 if $Modes/Move.is_pressed(): 97 if $Modes/Color.is_pressed(): 103 if $Modes/Scale.is_pressed(): 109 if $Modes/Rotate.is_pressed(): 113 if $Modes/Callback.is_pressed(): 117 if $Modes/Follow.is_pressed(): 130 tween.set_repeat($Modes/Repeat.is_pressed()) 134 if $Modes/Pause.is_pressed(): 150 if !$Modes/Pause.is_pressed():
|
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/misc/tween/ |
H A D | main.gd | 69 if get_node("modes/pause").is_pressed(): 94 if get_node("modes/move").is_pressed(): 98 if get_node("modes/color").is_pressed(): 104 if get_node("modes/scale").is_pressed(): 110 if get_node("modes/rotate").is_pressed(): 114 if get_node("modes/callback").is_pressed(): 118 if get_node("modes/follow").is_pressed(): 131 tween.set_repeat(get_node("modes/repeat").is_pressed()) 135 if get_node("modes/pause").is_pressed(): 155 if !get_node("modes/pause").is_pressed():
|
/dports/misc/vxl/vxl-3.3.2/core/vgui/ |
H A D | vgui_event_condition.h | 96 vgui_modifier m, bool is_pressed, bool is_on, event_types use_event); 103 vgui_event_condition(vgui_key ascii_code, bool is_pressed = true); 106 vgui_event_condition(vgui_key k, vgui_modifier m, bool is_pressed = true); 110 bool is_pressed = true);
|
H A D | vgui_event_condition.cxx | 23 bool is_pressed, in init() argument 28 pressed = is_pressed; in init() 61 vgui_event_condition::vgui_event_condition(vgui_key ascii_code, bool is_pressed) in vgui_event_condition() argument 63 …init(vgui_KEY_NULL, ascii_code, vgui_BUTTON_NULL, vgui_MODIFIER_NULL, is_pressed, true, ascii_char… in vgui_event_condition()
|
/dports/games/widelands/widelands-build21/src/graphic/ |
H A D | mouse_cursor.cc | 90 void MouseCursor::change_cursor(bool is_pressed) { in change_cursor() argument 91 if (use_sdl_ && (was_pressed_ != is_pressed)) { in change_cursor() 92 SDL_SetCursor(is_pressed ? default_cursor_click_sdl_ : default_cursor_sdl_); in change_cursor() 94 was_pressed_ = is_pressed; in change_cursor()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Windows.Forms/System.Windows.Forms/ |
H A D | ButtonBase.cs | 47 internal bool is_pressed; field in System.Windows.Forms.ButtonBase 78 is_pressed = false; in ButtonBase() 482 is_pressed = true; in OnKeyDown() 493 is_pressed = false; in OnKeyUp() 511 is_pressed = true; in OnMouseDown() 542 is_pressed = inside; in OnMouseMove() 563 if (is_pressed) { in OnMouseUp() 564 is_pressed = false; in OnMouseUp() 600 is_pressed = false; in OnVisibleChanged() 669 if (is_entered && is_pressed) { [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/scene/2d/ |
H A D | touch_screen_button.cpp | 157 if (is_pressed()) in _notification() 167 if (is_pressed()) in _notification() 172 if (is_pressed()) in _notification() 178 bool TouchScreenButton::is_pressed() const { in is_pressed() function in TouchScreenButton 209 if (st && !st->is_pressed() && finger_pressed == st->get_index()) { in _input() 214 if ((st && st->is_pressed()) || sd) { in _input() 237 if (st->is_pressed()) { in _input() 397 ClassDB::bind_method(D_METHOD("is_pressed"), &TouchScreenButton::is_pressed); in _bind_methods()
|
/dports/devel/godot/godot-3.2.3-stable/scene/2d/ |
H A D | touch_screen_button.cpp | 157 if (is_pressed()) in _notification() 167 if (is_pressed()) in _notification() 172 if (is_pressed()) in _notification() 178 bool TouchScreenButton::is_pressed() const { in is_pressed() function in TouchScreenButton 209 if (st && !st->is_pressed() && finger_pressed == st->get_index()) { in _input() 214 if ((st && st->is_pressed()) || sd) { in _input() 237 if (st->is_pressed()) { in _input() 397 ClassDB::bind_method(D_METHOD("is_pressed"), &TouchScreenButton::is_pressed); in _bind_methods()
|
/dports/devel/godot-tools/godot-3.2.3-stable/editor/plugins/ |
H A D | animation_blend_space_1d_editor.cpp | 45 …if (tool_select->is_pressed() && k.is_valid() && k->is_pressed() && k->get_scancode() == KEY_DELET… in _blend_space_gui_input() 54 …is_pressed() && ((tool_select->is_pressed() && mb->get_button_index() == BUTTON_RIGHT) || (mb->get… in _blend_space_gui_input() 107 if (snap->is_pressed()) { in _blend_space_gui_input() 112 …if (mb.is_valid() && mb->is_pressed() && tool_select->is_pressed() && mb->get_button_index() == BU… in _blend_space_gui_input() 141 if (snap->is_pressed()) { in _blend_space_gui_input() 164 …if (mb.is_valid() && !mb->is_pressed() && tool_blend->is_pressed() && mb->get_button_index() == BU… in _blend_space_gui_input() 187 if (mm.is_valid() && tool_blend->is_pressed() && mm->get_button_mask() & BUTTON_MASK_LEFT) { in _blend_space_gui_input() 229 if (snap->is_pressed()) { in _blend_space_draw() 256 if (snap->is_pressed()) { in _blend_space_draw() 282 if (tool_blend->is_pressed()) { in _blend_space_draw() [all …]
|
H A D | animation_blend_space_2d_editor.cpp | 85 …is_pressed() && ((tool_select->is_pressed() && mb->get_button_index() == BUTTON_RIGHT) || (mb->get… in _blend_space_gui_input() 134 if (snap->is_pressed()) { in _blend_space_gui_input() 140 …if (mb.is_valid() && mb->is_pressed() && tool_select->is_pressed() && mb->get_button_index() == BU… in _blend_space_gui_input() 182 …if (mb.is_valid() && mb->is_pressed() && tool_triangle->is_pressed() && mb->get_button_index() == … in _blend_space_gui_input() 223 if (snap->is_pressed()) { in _blend_space_gui_input() 245 …if (mb.is_valid() && mb->is_pressed() && tool_blend->is_pressed() && mb->get_button_index() == BUT… in _blend_space_gui_input() 440 if (snap->is_pressed()) { in _blend_space_draw() 488 if (snap->is_pressed()) { in _blend_space_draw() 525 if (snap->is_pressed()) { in _blend_space_draw() 565 if (tool_blend->is_pressed()) { in _blend_space_draw() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/editor/plugins/ |
H A D | animation_blend_space_1d_editor.cpp | 45 …if (tool_select->is_pressed() && k.is_valid() && k->is_pressed() && k->get_scancode() == KEY_DELET… in _blend_space_gui_input() 54 …is_pressed() && ((tool_select->is_pressed() && mb->get_button_index() == BUTTON_RIGHT) || (mb->get… in _blend_space_gui_input() 107 if (snap->is_pressed()) { in _blend_space_gui_input() 112 …if (mb.is_valid() && mb->is_pressed() && tool_select->is_pressed() && mb->get_button_index() == BU… in _blend_space_gui_input() 141 if (snap->is_pressed()) { in _blend_space_gui_input() 164 …if (mb.is_valid() && !mb->is_pressed() && tool_blend->is_pressed() && mb->get_button_index() == BU… in _blend_space_gui_input() 187 if (mm.is_valid() && tool_blend->is_pressed() && mm->get_button_mask() & BUTTON_MASK_LEFT) { in _blend_space_gui_input() 229 if (snap->is_pressed()) { in _blend_space_draw() 256 if (snap->is_pressed()) { in _blend_space_draw() 282 if (tool_blend->is_pressed()) { in _blend_space_draw() [all …]
|
H A D | animation_blend_space_2d_editor.cpp | 85 …is_pressed() && ((tool_select->is_pressed() && mb->get_button_index() == BUTTON_RIGHT) || (mb->get… in _blend_space_gui_input() 134 if (snap->is_pressed()) { in _blend_space_gui_input() 140 …if (mb.is_valid() && mb->is_pressed() && tool_select->is_pressed() && mb->get_button_index() == BU… in _blend_space_gui_input() 182 …if (mb.is_valid() && mb->is_pressed() && tool_triangle->is_pressed() && mb->get_button_index() == … in _blend_space_gui_input() 223 if (snap->is_pressed()) { in _blend_space_gui_input() 245 …if (mb.is_valid() && mb->is_pressed() && tool_blend->is_pressed() && mb->get_button_index() == BUT… in _blend_space_gui_input() 440 if (snap->is_pressed()) { in _blend_space_draw() 488 if (snap->is_pressed()) { in _blend_space_draw() 525 if (snap->is_pressed()) { in _blend_space_draw() 565 if (tool_blend->is_pressed()) { in _blend_space_draw() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/scene/gui/ |
H A D | base_button.cpp | 149 if (p_event->is_pressed()) { in on_action_event() 157 …if ((p_event->is_pressed() && action_mode == ACTION_MODE_BUTTON_PRESS) || (!p_event->is_pressed() … in on_action_event() 168 …if ((p_event->is_pressed() && action_mode == ACTION_MODE_BUTTON_PRESS) || (!p_event->is_pressed() … in on_action_event() 174 if (!p_event->is_pressed()) { in on_action_event() 239 bool BaseButton::is_pressed() const { in is_pressed() function in BaseButton 405 ClassDB::bind_method(D_METHOD("is_pressed"), &BaseButton::is_pressed); in _bind_methods() 500 if (E->get()->is_pressed()) in get_pressed_button()
|
/dports/devel/godot/godot-3.2.3-stable/scene/gui/ |
H A D | base_button.cpp | 149 if (p_event->is_pressed()) { in on_action_event() 157 …if ((p_event->is_pressed() && action_mode == ACTION_MODE_BUTTON_PRESS) || (!p_event->is_pressed() … in on_action_event() 168 …if ((p_event->is_pressed() && action_mode == ACTION_MODE_BUTTON_PRESS) || (!p_event->is_pressed() … in on_action_event() 174 if (!p_event->is_pressed()) { in on_action_event() 239 bool BaseButton::is_pressed() const { in is_pressed() function in BaseButton 405 ClassDB::bind_method(D_METHOD("is_pressed"), &BaseButton::is_pressed); in _bind_methods() 500 if (E->get()->is_pressed()) in get_pressed_button()
|
/dports/games/opensonic/opensnc-src-0.1.4/src/entities/items/ |
H A D | switch.c | 36 int is_pressed; /* is this switch being pressed? */ member 81 me->is_pressed = FALSE; in switch_init() 153 if(!me->is_pressed) { in handle_logic() 157 me->is_pressed = TRUE; in handle_logic() 164 if(me->is_pressed) { in handle_logic() 167 me->is_pressed = FALSE; in handle_logic()
|
/dports/emulators/cannonball/cannonball-0.34/src/main/engine/ |
H A D | oinputs.cpp | 83 if (input.is_pressed(Input::LEFT)) in digital_steering() 91 else if (input.is_pressed(Input::RIGHT)) in digital_steering() 124 if (input.is_pressed(Input::ACCEL)) in digital_pedals() 139 if (input.is_pressed(Input::BRAKE)) in digital_pedals() 165 gear = !input.is_pressed(Input::GEAR1); in do_gear()
|
/dports/emulators/cannonball/cannonball-0.34/src/main/frontend/ |
H A D | cabdiag.cpp | 99 if (press_start_to_exit && counter >= 60 && input.is_pressed(Input::START)) in tick() 203 ohud.blit_text_new(x, y++, input.is_pressed(Input::COIN) ? "ON " : "OFF", 0x80); // COIN 1 in tick_input() 204 ohud.blit_text_new(x, y++, input.is_pressed(Input::COIN) ? "ON " : "OFF", 0x80); // COIN 2 in tick_input() 206 ohud.blit_text_new(x, y++, input.is_pressed(Input::MENU) ? "ON " : "OFF", 0x80); // SERVICE in tick_input() 207 ohud.blit_text_new(x, y++, input.is_pressed(Input::START) ? "ON " : "OFF", 0x80); // START in tick_input() 209 ohud.blit_text_new(x, y++, input.is_pressed(Input::GEAR1) ? "LOW " : "HIGH", 0x80); // GEAR in tick_input()
|