Suspends ‘Shooting Mode’ and allows free movement of the mouse cursor while the key is pressed (Till it is released) The toggle key that is used to activate/de-activate Shooting Mode. Location of "Y" axis where Shooting Mode is placed Location of the "X" axis where Shooting Mode is placed The category under which to show the control in the game window Map the mouse buttons to the action buttons along with mapping keyboard keys to it as well (at the same time), so at any moment I can click the mouse, or press a key and it would execute the action button in game.Advanced Settings for Aim, Pan, and Shoot So that, the keyboard would move the character around the map, while the mouse would turn the character in any angle.Ĥ. Use the mouse to "look around" without needing to use the mouse to click. This is because, in-game, the character would pause for a second to accomplish this, instead of naturally moving from left to right.ģ. I would want the effect to start where I left the touch event and then move to the Upper / Right corner of the center position, but without having to release first, then touch the center, then drag to the upper right side. But what happens if I want to change from Up to Right. With this I mean, If I press the UP + LEFT key, it will click and hold on the center, then drag it to the Upper / Left side. An option to drag the touch effect around. In the meantime I am thinking this out.Ģ. If genymobile does indeed include this, the window size would need to be taken into consideration when resizing or moving the window around. I am looking for a way to make the X Y positions proportional to the window size. If I change the sizes of the window, then I gotta redo the X Y positions for all combinations. The github mentioned above did not help at all btw.ġ. This is what I am working on with the xdotool and thinking my way through. Map the mouse buttons to the action buttons along with mapping keyboard keys to it as well (at the same time), so at any moment I can click the mouse, or press a key and it would execute the action button in game. So that, the keyboard would move the character around the map, while the mouse would turn the character in any angle. This is because, in-game, the character would pause for a second to accomplish this, instead of naturally moving from left to right. In the meantime I am thinking this out.Īn option to drag the touch effect around. Depending if I hold the SHIFT, it will go longer to any direction to mimic the running speed, or move less to the sides to mimic the stealth/slower movement. If it helps for research purposes, the xdotool is the one I am using to more or less mimic this:Ĭurrently it is able to drag the center of the virtual joystick (What I call the center position) and drag it to the corresponding X/Y coordinates for the UP | DOWN | LEFT | RIGHT positions. # can't use esc because it is the phone 'back' hotkey, at least in snap version # if key = Key.esc: # Stop listener # return False # Collect events until released with Listener( #print(' release'.format( # key)) if key = Key. Global LISTEN global CENTER global OFFSET global LEFT global RIGHT global HEIGHT # for scrcpy with -2M switch #HEIGHT = 700 CENTER = 900 OFFSET = 500 # HEIGHT = 500 OFFSET 4 -b 4M # -m 768 -b 4M gives good enough quality while still working (-m 640 doesn't register clicks) HEIGHT = 650 CENTER = 950 OFFSET = 300 LEFT = CENTER - OFFSET RIGHT = CENTER + OFFSET def cust_click( x, y): keyboard import Key, Listener global MOUSE MOUSE = Controller() mouse import Button, Controller from pynput.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |