Giter Site home page Giter Site logo

q2-qmk's Introduction

Keychron Q2 QMK

This repo is for me to compile QMK firmware for my Keychron Q2 keyboard.

Huge thanks to QMK-on-K6 for outlining this process!

Q2 Keymap

My Q2 keymap is at keyboards/keychron/q2/keymaps/ansi-josh/keymap.c. It is a copy of the keychron/q2/ansi_encoder:keychron files.

See the releases page for tagged builds.

My Setup

  • Map the Esc key to `~.
  • Map Caps Lock to Esc.
  • Map Fn1+Caps Lock to Caps Lock for the rare moments I want to YELL.
  • Map Del (immediately under the knob) to Home to match the keycaps I have.
  • Map Home to Page Up to match my keycaps.
  • On Mac:
    • Turning the knob with no modifiers adjusts volume.
    • Holding Ctrl and turning the knob clockwise sends Ctrl+Mouse Wheel Up. Counter-clockwise sends Ctrl+Mouse Wheel Down. This zooms in and out on macOS (with an Accessibility setting enabled).
    • Holding Fn1 and turning the knob adjusts brightness on a second display.
    • Holding Fn2 and turning the knob adjusts brightness on the primary display.
    • Holding Fn1 and pressing the knob maxes out the brightness on a secondary display (by sending 16x brightness up calls).

GitHub Workflow

Make changes to keymap.c and then commit/push them to GitHub. If a build passes, the compiled firmware will be uploaded as a build artifact. It can be downloaded from the view build page on GitHub. These uploads will be deleted eventually, so do not rely on being able to download them forever.

When the firmware reaches a good saving point, uploading a git tag will trigger a build and upload the compiled firmware as a release asset. These files stay on GitHub for the life of the project.

To see how to do this Linux, see .github/workflows/build.yml.

Installing Firmware

  1. Install QMK Toolbox and launch it.
  2. Unplug the Q2. Hold Esc and Ctrl and plug the keyboard in. If you see "DFU device connected" in QMK Toolbox, move on to step 3.
    • If you do not, you need to manually put the keyboard in DFU mode. Follow these steps but stop short of uploading any firmware (since you're about to upload your own). Unplug it again. Remove the spacebar. Press and hold the small button that is visible in the left opening on the case. Plug the keyboard in again.
  3. Click "Open" and upload the .bin file that GitHub Actions generated.
  4. Click the "Flash" button.

q2-qmk's People

Contributors

itspriddle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.