Skip Navigation
Having trouble with QMK firmware
  • 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

  • Having trouble with QMK firmware
  • 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

  • Having trouble with QMK firmware
  • 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

  • Having trouble with QMK firmware

    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

    11
    Some images load, some images don't?
    imgur.com imgur.com

    Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users like dentonlister.

    imgur.com
    0
    Joystick algorithms for QMK
  • 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?

  • What is something you've done this last 7 days you're proud of?
  • 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"

  • *Permanently Deleted*
  • 'Feed' like Facebook feed or twitter feed or whatever social media feed. I guess mostly for the same reason as OP's. It makes people sound like brainless zombies just grazing on whatever is 'fed' to us by advertisers/whatever the platform has been paid to push .

  • How does everyone feel about Google Pixel phones?
  • I used the 2 and currently use the 4a (coming up to 3 years this Oct) but I think that's the end of the line for me on pixels cause they're just getting too big for someone with really small hands.

    My three wants (in order or priority) for phones are: 1) reasonably small enough (pixel 4a just about fits into this criteria); 2) fingerprint scanner; 3) headphone jack

    I've got a tiny jelly star from unihertz coming and if that doesn't work out I'll probably have to go zenphone cause they're just about the size of the 4a.

    Pity as I do like the pixel line

  • Do you descale salmon fillets?

    So all (that I've bought from) supermarkets sell their salmon fillets with scales on. Do you descale it before pan frying?

    Sainsbury's; morrisons; tesco are the supermarkets I've bought salmon fillets from mainly

    Edit: Please stop assuming I'm a dumbass who doesn't know what scales look like. We have established that YES, SCALES ARE PRESENT, I AM NOT MISTAKING SKIN FOR SCALES BECAUSE I HAVE EYES. They are on the fillets, and if you haven't noticed them, then feel free to not participate in this post.

    21
    Will I be able to get on the flight if I don't pay to select a seat?

    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.

    12
    How do I improve resolution on an old monitor?

    So I picked up a iiyama ProLite b2409HDS monitor the other day (out of my apartment's bin room, someone was moving out I think) and it's supposedly 1080p but looks horrendous!

    I don't know how to show it well and I think taking a screenshot isn't the best idea since that's maybe just down to 1080p looking worse than the built in screen on a MacBook Pro but I've included those pics anyway alongside some photos I took of the differing screens.

    Pics here: https://Imgur.com/a/0WC18yo

    7
    How do I change YouTube?

    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!

    13
    MAMAMOO @lemm.ee denton @lemm.ee
    Moomoosubs' video index
    0
    Lemmy Support @lemmy.ml denton @lemm.ee
    Not seeing comments when in another instance?

    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

    15
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DE
    denton @lemm.ee
    Posts 10
    Comments 64