Skip to content

Fixes for the PCB_MOUNT controller mount.#97

Open
mjonuschat wants to merge 4 commits into
joshreve:masterfrom
mjonuschat:pcb-mount-fixes
Open

Fixes for the PCB_MOUNT controller mount.#97
mjonuschat wants to merge 4 commits into
joshreve:masterfrom
mjonuschat:pcb-mount-fixes

Conversation

@mjonuschat

Copy link
Copy Markdown

A couple of small fixes that should make using the PCB_MOUNT controller_mount_type less surprising:

  1. usb_holder_size and usb_holder_thickness information moved to config as multiple calculations are based on those values.
  2. Use the TRRS hole size information from the configuration, it was overridden / hardcoded in the trrs_hole() method
  3. Use the z-axis offset from configuration for the TRRS hole. Calculating it based on the size of the whole and the thickness of the PCB holder was unexpected and couldn't be manually adjusted.
  4. Use the z-axis offset from the configuration for the USB hole. Same as for the TRRS hole the automatic calculation was unexpected and overriding the configured value.

Values were hardcoded in dactyl_manuform.py, move them to the config for customization.
Instead of ignoring the configuration and calculating it based on the
configured TRRS Hole size and the PCB Holder position on the Z-axis.

Updated the configuration so that the default values match the previously
calculated values.
Configuration was ignored / overwritten with a hardcoded value inside of
the trrs_hole() method.
Allow overriding the Z-axis offset of the USB hole instead of calculating
it based on the size of the USB hole and the size of the height of the PCB
holder.

Useful when socketing controllers and the offset is not only related to
the thickness of the PCB holder.

Updated the configuration defaults to match the previously calculated value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant