Please sign in to access this page

Launkey

Launkey Used AI

7 devlogs
13h 49m
Created by JaTar

Control your game with Launchpad

Timeline

JaTar
JaTar
1h 36m 3 days ago

Today, I focused on fixing code readability, because I started reading a book - Clean Code: A Handbook of Agile Software Craftsmanship. It's more about Java, but many of its principles are applicable to Python as well. I changed few functions and created two classes (LaunchpadWrapper and GUITable).
Also, I tested the build process (dev briefcase) on Linux. I had a problem, launchpad wasn't connecting to my app. It turned out that I need to install pygame using dnf not pip.

Update attachment
JaTar
JaTar
1h 54m 3 days ago

I’ve finished designing the UI for the template editor. I used Qt Creator for this, but since it doesn’t support the WakaTime plugin, some of the time I spent wasn’t tracked. Now I just need to create a custom layout for it.

I also changed the VS Code debugging command. Now it will track my hours properly. Previously, I was using ‘node-terminal’, and sometimes I forgot to click the stop debug button after closing my app, so some extra time (around 2–3 hours) was counted when I wasn’t actually programming. Now I switched to ‘debugpy’, which automatically stops debugging. It also has more features, like breakpoints and inline errors.

Update attachment
JaTar
JaTar
2h 36m 11 days ago

Finished making the main UI. It was difficult because I couldn't find a way to make a dynamic QtGridLayout for Presets. I was thinking that it was a feature in Qt Creator and I was wrong. It took a lot of tries, but now it's working.

Update attachment

I added run button and fixed async to work with it. Also added Launchpad detection.

Update attachment

Today is a BIG DAY! I created a demo for synchronisation between Launchpad and the GUI. It's working OK, so now I need to start making the real program with all the preset stuff.

UI Is ready. I made it in Qt Creator (I found one Wakatime plugin, but it was broken) so time was not counting. When I started debugging (to see how it's works) I was doing it in VSCode so some of it counted.

Update attachment

I started testing what GUI Python library to use; I installed Toga, but it doesn’t have drag-and-drop functions. So I replaced it with PySide6. I also installed and checked a library for controlling the keyboard. The image below is a sketch of GUI.

Update attachment