mirror of
https://github.com/csd4ni3l/aim-trainer.git
synced 2026-01-01 04:03:42 +01:00
Add 100% accuracy test and add controller support for the game only(not ui)
This commit is contained in:
@@ -25,9 +25,9 @@ class Inventory():
|
||||
if key.isnumeric() and int(key) <= self.slot_number:
|
||||
self.switch_to(int(key) - 1)
|
||||
|
||||
if key == "scroll down":
|
||||
if key == "scroll down" or key == "gamepad dpad right":
|
||||
self.switch_to(min(self.slot_number - 1, self.current_slot + 1))
|
||||
elif key == "scroll up":
|
||||
elif key == "scroll up" or key == "gamepad dpad left":
|
||||
self.switch_to(max(0, self.current_slot - 1))
|
||||
|
||||
def append(self, item, name, slot):
|
||||
|
||||
Reference in New Issue
Block a user