/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | input.cpp | 66 std::fill(press_time.begin(), press_time.end(), 0); in Init() 85 press_time[i] += 1; in UpdateButton() 87 released[i] = press_time[i] > 0; in UpdateButton() 88 press_time[i] = 0; in UpdateButton() 91 if (press_time[i] > 0) { in UpdateButton() 93 …repeated[i] = press_time[i] == 1 || (press_time[i] >= start_repeat_time && press_time[i] % repeat_… in UpdateButton() 184 press_time[i] = 0; in ResetKeys() 204 return press_time[button] > 0; in IsPressed() 227 return press_time[button] > 0; in IsSystemPressed() 247 return std::find_if(press_time.begin(), press_time.end(), in IsAnyPressed() [all …]
|
H A D | input.h | 284 extern std::array<int, BUTTON_COUNT> press_time;
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/misc/ |
H A D | atc260x-onkey.c | 76 u32 reset_time, u32 press_time) in atc2603x_onkey_hw_init() argument 86 reg_val = reg_bm | press_time; in atc2603x_onkey_hw_init() 196 u32 press_time = KEY_PRESS_TIME_SEC, reset_time = 0; in atc260x_onkey_probe() local 223 press_time = FIELD_PREP(ATC2603C_PMU_SYS_CTL2_ONOFF_PRESS_TIME, in atc260x_onkey_probe() 224 press_time); in atc260x_onkey_probe() 230 press_time = FIELD_PREP(ATC2609A_PMU_SYS_CTL2_ONOFF_PRESS_TIME, in atc260x_onkey_probe() 231 press_time); in atc260x_onkey_probe() 285 reset_time, press_time); in atc260x_onkey_probe()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/input/misc/ |
H A D | atc260x-onkey.c | 76 u32 reset_time, u32 press_time) in atc2603x_onkey_hw_init() argument 86 reg_val = reg_bm | press_time; in atc2603x_onkey_hw_init() 196 u32 press_time = KEY_PRESS_TIME_SEC, reset_time = 0; in atc260x_onkey_probe() local 223 press_time = FIELD_PREP(ATC2603C_PMU_SYS_CTL2_ONOFF_PRESS_TIME, in atc260x_onkey_probe() 224 press_time); in atc260x_onkey_probe() 230 press_time = FIELD_PREP(ATC2609A_PMU_SYS_CTL2_ONOFF_PRESS_TIME, in atc260x_onkey_probe() 231 press_time); in atc260x_onkey_probe() 285 reset_time, press_time); in atc260x_onkey_probe()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/input/misc/ |
H A D | atc260x-onkey.c | 76 u32 reset_time, u32 press_time) in atc2603x_onkey_hw_init() argument 86 reg_val = reg_bm | press_time; in atc2603x_onkey_hw_init() 196 u32 press_time = KEY_PRESS_TIME_SEC, reset_time = 0; in atc260x_onkey_probe() local 223 press_time = FIELD_PREP(ATC2603C_PMU_SYS_CTL2_ONOFF_PRESS_TIME, in atc260x_onkey_probe() 224 press_time); in atc260x_onkey_probe() 230 press_time = FIELD_PREP(ATC2609A_PMU_SYS_CTL2_ONOFF_PRESS_TIME, in atc260x_onkey_probe() 231 press_time); in atc260x_onkey_probe() 285 reset_time, press_time); in atc260x_onkey_probe()
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DolphinQt/Config/Mapping/ |
H A D | MappingCommon.cpp | 125 abs(d.press_time - detection.press_time) < SPURIOUS_TRIGGER_COMBO_THRESHOLD; in RemoveSpuriousTriggerCombinations() 174 (pressed_inputs[1]->press_time - pressed_inputs[0]->press_time) > in BuildExpression() 193 if (!((*it)->release_time > detection.press_time)) in BuildExpression()
|
/dports/audio/ardour6/Ardour-6.8.0/libs/surfaces/us2400/ |
H A D | button.cc | 44 press_time = PBD::get_microseconds (); in pressed() 50 press_time = 0; in released() 56 if (press_time == 0) { in long_press_count() 60 const PBD::microseconds_t delta = PBD::get_microseconds () - press_time; in long_press_count()
|
H A D | button.h | 93 , press_time (0) {} in Button() 117 PBD::microseconds_t press_time; variable
|
/dports/audio/ardour6/Ardour-6.8.0/libs/surfaces/mackie/ |
H A D | button.cc | 45 press_time = PBD::get_microseconds (); in pressed() 51 press_time = 0; in released() 57 if (press_time == 0) { in long_press_count() 61 const PBD::microseconds_t delta = PBD::get_microseconds () - press_time; in long_press_count()
|
H A D | button.h | 136 , press_time (0) {} in Button() 158 PBD::microseconds_t press_time; variable
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/branches/ |
H A D | branches.cc | 63 uint16_t press_time[2]; variable 228 press_time[i] = TCNT1; in main() 232 uint16_t this_press_time = TCNT1 - press_time[i]; in main()
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/branches/ |
H A D | branches.cc | 63 uint16_t press_time[2]; variable 228 press_time[i] = TCNT1; in main() 232 uint16_t this_press_time = TCNT1 - press_time[i]; in main()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/events/test/ |
H A D | event_generator.cc | 439 base::TimeTicks press_time[kMaxTouchPoints]; in GestureMultiFingerScrollWithDelays() local 444 press_time[i] = press_time_first + in GestureMultiFingerScrollWithDelays() 448 DCHECK_LE(press_time[i], release_time[i]); in GestureMultiFingerScrollWithDelays() 457 if (!pressed[i] && move_time >= press_time[i]) { in GestureMultiFingerScrollWithDelays() 459 ui::ET_TOUCH_PRESSED, points[i], press_time[i], in GestureMultiFingerScrollWithDelays()
|
/dports/games/easyrpg-player/Player-0.7.0/tests/ |
H A D | game_player_input.cpp | 63 Input::press_time[Input::DEBUG_THROUGH] = 1; in testMove()
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/InputCommon/ControllerInterface/ |
H A D | Device.h | 204 Clock::time_point press_time; member
|
H A D | Device.cpp | 429 new_detection.press_time = Clock::now(); in DetectInput()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/sdl/ |
H A D | glwidgets.h | 142 int press_time; member
|
H A D | glwidgets.c | 604 tmp->press_time = loopsSlow; in button_ButtonWidget() 622 if (loopsSlow >= (int)(wid_info->press_time + wid_info->depress_time)) in Paint_ButtonWidget()
|
/dports/audio/soundtracker/soundtracker-1.0.2.1/app/ |
H A D | track-editor.c | 776 …gdouble press_time = current_driver->get_play_time(current_driver_object) - gui_settings.delay_com… in track_editor_put_note() local 786 if (press_time > (nexttime + curtime) * 0.5) { in track_editor_put_note() 792 } else if (prevtime > 0.0 && press_time < (curtime + prevtime) * 0.5) { in track_editor_put_note() 804 if (press_time > in track_editor_put_note()
|
/dports/x11/libinput/libinput-1.12.6/test/ |
H A D | test-touchpad-tap.c | 2474 uint64_t press_time, release_time; in START_TEST() local 2491 press_time = libinput_event_pointer_get_time(ptrev); in START_TEST() 2501 ck_assert_int_gt(release_time, press_time); in START_TEST()
|
/dports/games/retroarch/RetroArch-1.9.7/ |
H A D | retroarch.c | 38247 retro_time_t press_time = current_time; in runloop_check_state() local 38250 global->menu.noop_press_time = press_time - global->menu.noop_start_time; in runloop_check_state() 38252 global->menu.action_press_time = press_time - global->menu.action_start_time; in runloop_check_state()
|
/dports/graphics/gimp-app/gimp-2.10.30/ |
H A D | ChangeLog.pre-2-4 | 8430 in_click_distance, press_coords and press_time. 8433 press_coords and press_time.
|