QtScrcpy
Android real-time display control software
QtScrcpy connects to Android devices via USB (or via TCP/IP) for display and control. It does NOT require the root privileges. It supports three major platforms: GNU/Linux, Windows and MacOS. You can write your own script to map keyboard and mouse actions to touches and clicks of the mobile phone according to your needs. A script for "PUBG mobile" and TikTok mapping is provided by default.