denton

joined 1 year ago
[–] denton@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

I've actually got all the code to work now except the joystick part, which is the biggest (new) part for me for this keeb. I've been on the QMK discord (that's how I knew to update QMK to resolve QK_BOOT haha, although I'm not entirely sure the combo works...) What do you mean read the joystick input pins once per scan instead of in every if statement?

edit: yeah config_common is deprecated according to the QMK discord. very unfortunately I actually have no idea what I'm doing with QMK/C++ code (esp the joystick part) in general and have just been kinda sticking things I've found on the internet in in hopes of something working out but no luck so far

[–] denton@lemm.ee 1 points 1 year ago (3 children)

I've tried to rewrite the joystick code and now am getting different errors:

Compiling: quantum/keymap_introspection.c                                                           [OK]
Compiling: quantum/command.c                                                                        [OK]
Compiling: tmk_core/protocol/host.c                                                                tmk_core/protocol/host.c: In function 'host_joystick_send':
tmk_core/protocol/host.c:171:10: error: 'report_joystick_t' {aka 'struct '} has no member named 'axes'
         .axes =
          ^~~~
tmk_core/protocol/host.c:172:13: error: extra brace group at end of initializer
             {
             ^
tmk_core/protocol/host.c:172:13: note: (near initialization for 'report')
tmk_core/protocol/host.c:172:13: error: excess elements in struct initializer [-Werror]
tmk_core/protocol/host.c:172:13: note: (near initialization for 'report')
cc1: all warnings being treated as errors
 [ERRORS]
 | 
 | 
 | 
gmake[1]: *** [builddefs/common_rules.mk:361: .build/obj_eiris_default/protocol/host.o] Error 1
gmake: *** [Makefile:392: eiris:default] Error 1
Make finished with errors

Also, I'm not sure if I need "#include "config_common.h" in my config.h file? I see it in some other config.h files. When I have that in my config.h file, it gives a fatal error: No such file or directory

[–] denton@lemm.ee 1 points 1 year ago (5 children)

Yep. QK_BOOT error was resolved after I updated, now it's just left with the joystick error. I've also uploaded rules.mk to the drive link

[–] denton@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (7 children)

Yes there's one extra column on the left.

I'd spotted that error but forgot to update the Google drive after updating the .h file. I'll try adding no pin!

Thank you!

Edit: that solved the LAYOUT errors!

Now it's just the QK_BOOT and joystick code errors

[–] denton@lemm.ee 1 points 1 year ago

Yes I spotted that error and made it 7 but forgot to update the Google drive! 😅

 

I'm having trouble figuring out what's wrong with my files for compiling. the initial errors are pointing to the .h and corresponding part in the keymap.c files but it seems fine to me? i haven't even managed to get to figuring out the joystick part which is where i thought i would start having a bunch of trouble

Unsure the best way to show files but I don't think copy pasting them into the body of this post would be best so I've uploaded here: https://drive.google.com/drive/folders/1WKobV73ZdovPCUUcp0jLBLaX8L6IFEmp?usp=drive_link

The txt file shows the error text I get when trying to compile

Thank you

[–] denton@lemm.ee 2 points 1 year ago
  1. Hot glue
  2. Yes it's fine I exclusively use AliExpress knock off usb c pro micros
[–] denton@lemm.ee 1 points 1 year ago

Thank you! I've saved your comment for future use :)

Creating from scratch! I've posted some of the things I've made here: https://www.reddit.com/user/_denton

[–] denton@lemm.ee 2 points 1 year ago (2 children)

I haven't started experimenting around with the code for joysticks but am in the middle of making a keyboard (half) with a joystick. Did you find it worked ok just for acting as keyboard keys/combinations of keys?

I see under the 'Accelerated' portion where you tried to emulate mouse keys there weren't really any results?

[–] denton@lemm.ee 3 points 1 year ago

If you're talking about long term working out, motivation will not cut it. It has to be determination/making it a habit. Like - "Time to take a shower", "time to workout".

But working out doesn't mean you have to push yourself till you feel like puking. Start small, do 10 squats at lunch and another 10 when you finish your work day for e.g.. Do something you find fun, not something that's just "well running is exercise so I guess I have to do that"

[–] denton@lemm.ee 4 points 1 year ago

Same! I was taken aback and offended all at once then refreshed to get rid of the ad which thankfully still works... But for how long more is the question 😭

[–] denton@lemm.ee 0 points 1 year ago (2 children)

Well... With Spotify premium you can download and play it offline, which is what I was specifically asking about.

[–] denton@lemm.ee -1 points 1 year ago (4 children)

So if you don't have internet connection you can't use it?

 

So I've looked at flights and unfortunately ryanair is the only airline that does the flights at a reasonable time on the days I need/want to travel on.

I get to starting the process past just looking at prices and discover that I have to pay minimum £8 to select a seat so I can check in 60 days before the flight. Otherwise, I can only check in 24h before the flight. I don't typically travel short-haul flights so I'm not very good with budget airlines and how they work, hence why I'm here.

My question is: Will I be able to get on the flight if I don't pay the £16 (since it's 2 flights) to check in early? I know airlines overbook their flights and so I fear I'll get to checking in 24h before the flight but everyone who's paid to select seats will have taken all the seats and I'll not have a seat at all.

 

Bad title but previously on subscriptions or home, there would be 4 (or maybe 5?) videos per row. Now it's 3 and the thumbnails are bigger. It's very annoying cause I have to scroll more and I don't see the need to have the thumbnails be so large.

How do I revert it? I've tried zooming out but then all the text gets smaller which I don't want either.

Thanks!

 

When on lemm.ee, the instance I have an account on, I don't see comments on a post in another instance (lemmy.world), so I cannot interact with/reply to a comment on that post. When I go to lemmy.world itself and go to that post, I see comments. However, since I don't have an account on that instance, I cannot interact with that post.

I'm still incredibly new to lemmy/the fediverse/etc etc so please let me know what I'm doing wrong!

Screenshots of instances/comments: https://imgur.com/a/MU3CXFw

view more: next ›