Home
last modified time | relevance | path

Searched refs:touch_x (Results 1 – 25 of 35) sorted by relevance

12

/dports/emulators/citra/citra-ac98458e0/src/core/frontend/
H A Demu_window.cpp27 float touch_x = 0.0f; ///< Touchpad X-position member in Frontend::EmuWindow::TouchState
37 return std::make_tuple(state->touch_x, state->touch_y, state->touch_pressed); in GetStatus()
127 touch_state->touch_x = in TouchPressed()
132 touch_state->touch_x = in TouchPressed()
141 std::swap(touch_state->touch_x, touch_state->touch_y); in TouchPressed()
142 touch_state->touch_x = 1.f - touch_state->touch_x; in TouchPressed()
152 touch_state->touch_x = 0; in TouchReleased()
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/frontend/
H A Demu_window.cpp27 float touch_x = 0.0f; ///< Touchpad X-position member in Frontend::EmuWindow::TouchState
37 return std::make_tuple(state->touch_x, state->touch_y, state->touch_pressed); in GetStatus()
127 touch_state->touch_x = in TouchPressed()
132 touch_state->touch_x = in TouchPressed()
141 std::swap(touch_state->touch_x, touch_state->touch_y); in TouchPressed()
142 touch_state->touch_x = 1.f - touch_state->touch_x; in TouchPressed()
152 touch_state->touch_x = 0; in TouchReleased()
/dports/emulators/yuzu/yuzu-0b47f7a46/src/core/frontend/
H A Demu_window.cpp26 float touch_x = 0.0f; ///< Touchpad X-position member in Core::Frontend::EmuWindow::TouchState
36 return std::make_tuple(state->touch_x, state->touch_y, state->touch_pressed); in GetStatus()
87 touch_state->touch_x = in TouchPressed()
100 touch_state->touch_x = 0; in TouchReleased()
/dports/games/retroarch/RetroArch-1.9.7/input/drivers/
H A Dwayland_input.c58 unsigned* touch_x, unsigned* touch_y) in wayland_context_gettouchpos() argument
62 *touch_x = wl->active_touch_positions[id].x; in wayland_context_gettouchpos()
70 unsigned touch_x = 0; in input_wl_poll() local
91 if (wayland_context_gettouchpos(wl->gfx, id, &touch_x, &touch_y)) in input_wl_poll()
95 wl->touches[id].x = touch_x; in input_wl_poll()
H A Dswitch_input.c103 uint32_t touch_x[MULTITOUCH_LIMIT]; /* used for touch mouse */ member
175 sw->touch_previous_x[i] = sw->touch_x[i]; in switch_input_poll()
177 sw->touch_x[i] = touch_screen_state.touches[i].x; in switch_input_poll()
406 normalize_touch_mouse_xy(&x, &y, sw->touch_x[i], sw->touch_y[i]); in handle_touch_mouse()
423 if (sw->touch_x[i] != sw->touch_previous_x[i] || in handle_touch_mouse()
/dports/games/easyrpg-player/Player-0.7.0/src/platform/3ds/
H A D3ds_ui.cpp52 int touch_x, touch_y; variable
234 touch_x = pos.px; in ProcessEvents()
320 C2D_DrawRectSolid(touch_x - 1, touch_y, 0.5f, 3, 1, gray); in UpdateDisplay()
321 C2D_DrawRectSolid(touch_x, touch_y - 1, 0.5f, 1, 3, gray); in UpdateDisplay()
324 u8 col = touch_x / button_width; in UpdateDisplay()
/dports/games/retroarch/RetroArch-1.9.7/input/drivers_joypad/wiiu/
H A Dpad_functions.c72 int16_t touch_x, int16_t touch_y) in wiiu_pad_set_axis_value() argument
78 state[WIIU_DEVICE_INDEX_TOUCHPAD][RETRO_DEVICE_ID_ANALOG_X] = touch_x; in wiiu_pad_set_axis_value()
/dports/emulators/yuzu/yuzu-0b47f7a46/src/yuzu_cmd/emu_window/
H A Demu_window_sdl2.cpp52 std::pair<unsigned, unsigned> EmuWindow_SDL2::TouchToPixelPos(float touch_x, float touch_y) const { in TouchToPixelPos() argument
56 touch_x *= w; in TouchToPixelPos()
59 return {static_cast<unsigned>(std::max(std::round(touch_x), 0.0f)), in TouchToPixelPos()
H A Demu_window_sdl2.h46 std::pair<unsigned, unsigned> TouchToPixelPos(float touch_x, float touch_y) const;
/dports/x11/wvkbd/wvkbd-0.7/
H A Dmain.c147 uint32_t touch_x, touch_y; in wl_touch_down() local
149 touch_x = wl_fixed_to_int(x); in wl_touch_down()
154 next_key = kbd_get_key(&keyboard, touch_x, touch_y); in wl_touch_down()
169 uint32_t touch_x, touch_y; in wl_touch_motion() local
171 touch_x = wl_fixed_to_int(x); in wl_touch_motion()
174 kbd_motion_key(&keyboard, time, touch_x, touch_y); in wl_touch_motion()
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/libretro/
H A Dlibretro.cpp68 uint32_t touch_x; member
426 layout->touch_x= 0; in get_layout_params()
441 layout->touch_x= 0; in get_layout_params()
456 layout->touch_x= GPU_LR_FRAMEBUFFER_NATIVE_WIDTH; in get_layout_params()
471 layout->touch_x= 0; in get_layout_params()
494 layout->touch_x= GPU_LR_FRAMEBUFFER_NATIVE_WIDTH; in get_layout_params()
518 layout->touch_x= 0; in get_layout_params()
534 layout->touch_x= 0; in get_layout_params()
548 layout->touch_x= 0; in get_layout_params()
1496 if ((x >= layout.touch_x) && (x < layout.touch_x + GPU_LR_FRAMEBUFFER_NATIVE_WIDTH) && in retro_run()
[all …]
/dports/emulators/citra/citra-ac98458e0/src/citra/emu_window/
H A Demu_window_sdl2.cpp67 std::pair<unsigned, unsigned> EmuWindow_SDL2::TouchToPixelPos(float touch_x, float touch_y) const { in TouchToPixelPos() argument
71 touch_x *= w; in TouchToPixelPos()
74 return {static_cast<unsigned>(std::max(std::round(touch_x), 0.0f)), in TouchToPixelPos()
H A Demu_window_sdl2.h63 std::pair<unsigned, unsigned> TouchToPixelPos(float touch_x, float touch_y) const;
/dports/emulators/citra-qt5/citra-ac98458e0/src/citra/emu_window/
H A Demu_window_sdl2.cpp67 std::pair<unsigned, unsigned> EmuWindow_SDL2::TouchToPixelPos(float touch_x, float touch_y) const { in TouchToPixelPos() argument
71 touch_x *= w; in TouchToPixelPos()
74 return {static_cast<unsigned>(std::max(std::round(touch_x), 0.0f)), in TouchToPixelPos()
H A Demu_window_sdl2.h63 std::pair<unsigned, unsigned> TouchToPixelPos(float touch_x, float touch_y) const;
/dports/games/retroarch/RetroArch-1.9.7/input/include/wiiu/
H A Dinput.h62 int16_t right_x, int16_t right_y, int16_t touch_x, int16_t touch_y);
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/client/
H A Dgesture_interpreter.cc244 float touch_x, in InjectMouseClick() argument
248 !input_strategy_->TrackTouchInput({touch_x, touch_y}, viewport_)) { in InjectMouseClick()
H A Dgesture_interpreter.h97 void InjectMouseClick(float touch_x,
/dports/x11-wm/phoc/phoc-f26fa0123742ba95d303ad552fc1f8d2d0117288/src/
H A Dseat.h19 double touch_x, touch_y; member
H A Dcursor.c490 seat->touch_x = lx; in roots_cursor_handle_touch_down()
639 cursor->seat->touch_x = lx; in roots_cursor_handle_touch_motion()
/dports/x11-wm/sway/sway-1.5.1/include/sway/input/
H A Dseat.h90 double touch_x, touch_y; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/rc/
H A Dimon.c151 int touch_x; /* x coordinate on touchscreen */ member
1096 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_display_timeout()
1379 ictx->touch_x = (buf[0] << 4) | (buf[1] >> 4); in imon_touch_event()
1381 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_event()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/rc/
H A Dimon.c151 int touch_x; /* x coordinate on touchscreen */ member
1096 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_display_timeout()
1379 ictx->touch_x = (buf[0] << 4) | (buf[1] >> 4); in imon_touch_event()
1381 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_event()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/rc/
H A Dimon.c151 int touch_x; /* x coordinate on touchscreen */ member
1096 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_display_timeout()
1379 ictx->touch_x = (buf[0] << 4) | (buf[1] >> 4); in imon_touch_event()
1381 input_report_abs(ictx->touch, ABS_X, ictx->touch_x); in imon_touch_event()
/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dmeritm.cpp270 int touch_coord_transform(int *touch_x, int *touch_y);
292 int meritm_state::touch_coord_transform(int *touch_x, int *touch_y) in touch_coord_transform() argument
294 int xscr = (int)((double)(*touch_x)/0x4000*544); in touch_coord_transform()
312 *touch_x = (int)((double)(xscr - 16)*0x4000/(544-16-16)); in touch_coord_transform()

12