# Path: src/dp_controller.py
# class Button(enum.Enum):
# class Trigger(enum.Enum):
# class Stick(enum.Enum):
# class DolphinController:
#     A = 0
#     B = 1
#     X = 2
#     Y = 3
#     Z = 4
#     START = 5
#     L = 6
#     R = 7
#     D_UP = 8
#     D_DOWN = 9
#     D_LEFT = 10
#     D_RIGHT = 11
#     L = 0
#     R = 1
#     MAIN = 0
#     C = 1
#     def __init__(self, path):
#     def __enter__(self):
#     def __exit__(self, *args):
#     def press_button(self, button):
#     def release_button(self, button):
#     def press_release_button(self, button, delay):
#     def set_trigger(self, trigger, amount):
#     def set_stick(self, stick, x, y):
#     def reset(self):


import src.keylog as keylog
from src import dp_controller


class KeyPadMap:
    def __init__(self):
        self.previous_keys = dict((el.name, False) for el in keylog.Keyboard)

# Path: src/dp_controller.py
# class Button(enum.Enum):
# class Trigger(enum.Enum):
# class Stick(enum.Enum):
# class DolphinController:
#     A = 0
#     B = 1
#     X = 2
#     Y = 3
#     Z = 4
#     START = 5
#     L = 6
#     R = 7
#     D_UP = 8
#     D_DOWN = 9
#     D_LEFT = 10
#     D_RIGHT = 11
#     L = 0
#     R = 1
#     MAIN = 0
#     C = 1
#     def __init__(self, path):
#     def __enter__(self):
#     def __exit__(self, *args):
#     def press_button(self, button):
#     def release_button(self, button):
#     def press_release_button(self, button, delay):
#     def set_trigger(self, trigger, amount):
#     def set_stick(self, stick, x, y):
#     def reset(self):


# Path: src/key2pad.py
import src.keylog as keylog
from src import dp_controller



class KeyPadMap:
    def __init__(self):
        self.previous_keys = dict((el.name, False) for el in keylog.Keyboard)

        self.p = dp_controller.DolphinController("~/.dolphin-emu/Pipes/pipe").__enter__()