+1 vote
by (200 points)
recategorized by

I'm trying to use the touchpad directional clicks to move my character in Unreal Engine 4.26.2 on a Pico 4k.

I'm using the 'Pico Handle TouchClickLeft, TouchClickRight, TouchClickUp, TouchClickDown' events, however these only seem to work if the user clicks the middle of touchpad, but nothing happens if they click on the side.

Are there events that report clicks for the touchpad border? I had no success trying the other touch events.

Any suggestions would be appreciated.

1 Answer

0 votes
by (1.4k points)
selected by
Best answer


You can refer to Figure 5.4 and 5.5 in the development document ,and use touchpad's XY raw data to realize the function of moving characters.

by (200 points)

Thanks. I think 'Handle Touch X' and 'Handle Touch Y' registers the touch coordinate without click. We'd like to have tactile feedback that's why we need the click.

by (1.4k points)

In this case, you can additionally judge "Pico Handle Touchpad". . .

by (200 points)

Thanks this can work.

Although it seems to be buggy when I press the very edge of the touchpad, when it returns 0.0 for both X and Y. Since it's very difficult to get exactly 0.0 when I press the middle of the touchpad it can be probably handled by treating 0.0 as 1.0 in this case.