How to emulate swipe actions with keyboard for Android-x86?

I want to play some RPG games on Android, but I own a mediocre phone which does not run them well. Running them inside Android-x86 on my PC sure runs them better, but there’s just one problem: these apps don’t support keyboard/mouse control. They have virtual navigation buttons on screen, which need be both tapped and swiped. I can do that with the mouse, but that’s not useful. I need to bind specific tap and swipe actions with keyboard buttons, so that whenever I press that key, the corresponding tap/swipe actions will be emulated on corresponding part of the screen. Is there a solution for this? Or is it a far cry?

Is there a way to emulate Vlookup in Google Script?

I did some looking around and I’m struggling quite a bit in finding the answer.

I’m working on a Google Script for Google Sheets that works like a Vlookup, where you define a cell for it to look at, and use the information found within that cell to search ANOTHER range of cells elsewhere.

eg. 1

Use the value from A1 (Sheet 1) to search in the 1st column (Sheet 2) and then return the value from that row in the 3rd column.

eg. 2

=VLOOKUP(A1, ‘Sheet 2’!A1:D4, 3) Bearing in mind that since this is a Script and not a Formula, the fact that A1 is in Sheet 1 and not Sheet 2 would of course need to somehow be defined