• 4 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
rss


  • so i had a crack at fixing it and got it to compile, obviously unable to test it functionally. I've pushed the code here.

    I noticed you're not actually using the joystick features since you're reading the analog pins manually (btw, you should read them once per scan instead of in every if statement). so i just removed all the joystick code and the JOYSTICK_ENABLE = yes. i'm not sure what exactly you're trying to do but what I've got builds and doesn't remove any of the functional code, so see how you go from there. I don't know much about using the joystick feature in QMK so I can't really advise on how to use it instead of what you're doing, but as it stands you seem to not be utilising it anyway.

    Good luck. if you're stuck, maybe try going to the QMK discord and explaining what you are trying to achieve and see what people say there. Be careful not to assume the implementation and ask the wrong question, describe what you want to achieve at a high level and see what they advise to implement it (see the XY problem)


  • i don't think you need to include config_common.h, that's just a convention for when there are multiple revisions of a keyboard but most of the stuff is common.

    as for the other code, try removing things until you get it to compile and start adding it back. it looks like the problem could be happening inside some macro expansion or something. i think it would help to format your code a bit to make it easier to follow, there's not really a need for the switch statement with only one case, etc. use consistent indentation, and such.








  • Does your keyboard have asymmetric halves? The left having 7 columns and the right having 6? As the other commenter pointed out you have defined 6 columns but your layout macro in eiris.h has 7 elements for the left hand. I think the way to solve it is to define it as 7 columns, add NO_PIN to the end of MATRIX_COL_PINS_RIGHT and then just add XXX to the end of all the rows for the right half in your layout macro in eiris.h.

    This is outlined in the documentation










  • obosobtoSelfhosted@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    1
    edit-2
    11 months ago

    You just use three backticks to start and end a code block, it’s just markdown.

    e.g.

    version: '3.4' 
      
    services:
       vaultwarden: 
         image: vaultwarden/server:latest 
         restart: always 
         # environment: 
         #   SIGNUPS_ALLOWED: 'false' 
         #   ADMIN_TOKEN: 'your authentication token' 
         ports: 
           - '127.0.0.1:8200:80' 
         volumes: 
           - vaultwarden-data:/data/ 
    ...
    

  • To speed up your PCB creation this board would be really quite easy to make in ergogen and that can spit out a PCB for you and all you’ll need to do is route it. Either way, it shouldn’t be too hard to make anyway.

    One tip if you make it in kicad yourself from scratch. Set your grid size to a fraction of 19.05 (MX Spacing), start by laying out one half of the switches and then rotate them as a block, then do the same for the other half. that’ll make it much easier to work with than trying to place everything on an angle.

    Good luck.