Home
last modified time | relevance | path

Searched refs:press_time (Results 1 – 22 of 22) sorted by relevance

/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dinput.cpp66 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 Dinput.h284 extern std::array<int, BUTTON_COUNT> press_time;
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/input/misc/
H A Datc260x-onkey.c76 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 Datc260x-onkey.c76 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 Datc260x-onkey.c76 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 DMappingCommon.cpp125 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 Dbutton.cc44 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 Dbutton.h93 , press_time (0) {} in Button()
117 PBD::microseconds_t press_time; variable
/dports/audio/ardour6/Ardour-6.8.0/libs/surfaces/mackie/
H A Dbutton.cc45 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 Dbutton.h136 , 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 Dbranches.cc63 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 Dbranches.cc63 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 Devent_generator.cc439 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 Dgame_player_input.cpp63 Input::press_time[Input::DEBUG_THROUGH] = 1; in testMove()
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/InputCommon/ControllerInterface/
H A DDevice.h204 Clock::time_point press_time; member
H A DDevice.cpp429 new_detection.press_time = Clock::now(); in DetectInput()
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/client/sdl/
H A Dglwidgets.h142 int press_time; member
H A Dglwidgets.c604 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 Dtrack-editor.c776 …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 Dtest-touchpad-tap.c2474 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 Dretroarch.c38247 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 DChangeLog.pre-2-48430 in_click_distance, press_coords and press_time.
8433 press_coords and press_time.