diff --git a/corne/crkbd_rev4_1_standard_vial.uf2 b/corne/crkbd_rev4_1_standard_vial.uf2 new file mode 100644 index 0000000..3552f29 Binary files /dev/null and b/corne/crkbd_rev4_1_standard_vial.uf2 differ diff --git a/corne/v3qmk/README.md b/corne/v3qmk/README.md index 273231a..1e5c360 100644 --- a/corne/v3qmk/README.md +++ b/corne/v3qmk/README.md @@ -2,29 +2,8 @@ My keyboard settings. Mostly inspired by [Miryoku](https://github.com/manna-harbour/miryoku) and [this](https://habr.com/ru/articles/717912/) Russian keyboard layout. -# TODO: -1) Add custom keycodes to VIAL https://get.vial.today/manual/custom_keycode.html -2) Upgrade VIAL to QMK state (currently firmware is very different, I use QMK) -3) Write a more detailed flashing guide below -4) ~~Swap Z and H to make it easier to typing the bigram CH~~ - # Flashing on Arch Linux -## Vial - -Coming soon... - -https://get.vial.today/docs/porting-to-vial.html - -The old version of the guide - -1) Create firmware file -2) `make crkbd/rev1:vial` -3) Flash one half of the keyboard, then the other half -4) `qmk flash -kb crkbd/rev1 -km vial` - -## QMK - https://docs.qmk.fm/#/newbs_getting_started Type this in the terminal diff --git a/corne/v4.1vial/README.md b/corne/v4.1vial/README.md index e5f44df..065b50e 100644 --- a/corne/v4.1vial/README.md +++ b/corne/v4.1vial/README.md @@ -41,8 +41,41 @@ ENG: https://get.vial.today/docs/porting-to-vial.html https://docs.qmk.fm/newbs_getting_started +https://www.ergokeeb.com/blogs/news/guide-to-flash-vial-firmware-on-the-corne-v4-1-wired-keyboard + - `git clone https://github.com/vial-kb/vial-qmk` - Move your files to the `~/vial-qmk/keyboards/crkbd/keymaps/vial/` directory. Or you can create your own directory in `keymaps` instead of `vial` and put your files there. -- `make crkbd/rev4_1:vial` -- `qmk flash -kb crkbd/rev4_1 -km vial` +- `qmk compile -kb crkbd/rev4_1/standard -km vial` +## **Step 1: Enter Bootloader Mode** + +For the Corne V4.1, entering bootloader mode is straightforward due to its RP2040-based design (or similar), which mounts as a USB drive when in bootloader mode. + +**Method 1:** You can either press the reset button or hold down the "Q" or "P" keys while plugging in the keyboard to enter the bootloader and flash the new firmware. + +**Method 2:** Connect to the PC while holding down the **BOOT** button, or while connected to the PC, hold down the **BOOT** button and press the **RESET** button. After that, an RPI-PR2 device will be mounted. + +## **Step 2: Flash the Firmware** + +1. **Flash the Left Half:** + - Open the RPI-RP2 drive. + - Drag (or copy and paste) the firmware file into the drive. + - Wait a few seconds—the drive will disappear once flashing is complete. +2. **Flash the Right Half:** + - Disconnect the left half. + - Repeat **Step 2** for the right half, then drag the firmware file into the RPI-RP2 drive. + - Wait for the drive to vanish, confirming the flash. + +--- + +## **Step 3: Test the Keyboard** + +1. **Connect the Halves:** + - Use a TRS cable to connect the left and right halves. + - Plug the left half into your computer via USB (for wired setups, the left half is typically the “master”). +2. **Verify Functionality:** + - Open the Vial application (or a text editor like Notepad). + - Press keys on both halves to ensure they register correctly. + - If the keyboard isn’t detected or keys don’t work, double-check the firmware files match your hardware and that the TRS connection is secure. +3. **Use Vial:** + - In the Vial app, your Corne V4.1 should appear if the firmware was flashed correctly. You can now customize keymaps, layers, and settings without reflashing. diff --git a/corne/v4.1vial/vial.json b/corne/v4.1vial/vial.json new file mode 100644 index 0000000..273a22b --- /dev/null +++ b/corne/v4.1vial/vial.json @@ -0,0 +1,40 @@ +{ + "name": "Corne v4", + "vendorId": "0x4653", + "productId": "0x0004", + "matrix": {"rows": 8, "cols": 7}, + "lighting": { + "extends": "qmk_rgblight" + }, + "layouts": { + "labels": [ + ["Left EX1", "Key", "Encoder", "None"], + ["Left EX2", "Key", "Encoder", "None"], + ["Right EX1", "Key", "Encoder", "None"], + ["Right EX2", "Key", "Encoder", "None"] + ], + "keymap": [ + [{"y": 1, "x": 3.5}, "0,3", {"x": 7.5}, "4,3"], + [{"y": -0.875, "x": 2.5}, "0,2", {"x": 1}, "0,4", {"x": 5.5}, "4,4", {"x": 1}, "4,2"], + [{"y": -0.875, "x": 5.5}, "0,5", {"x": 3.5}, "4,5"], + [{"y": -0.875, "x": 0.5}, "0,0", "0,1", {"x": 11.5}, "4,1", "4,0"], + [{"y": -0.625, "x": 6.5}, "0,6\n\n\n0,0",{"w":0.5,"h":0.5},"0,0\n\n\n0,1\n\n\n\n\n\ne",{"w":0.5,"h":0.5},"0,1\n\n\n0,1\n\n\n\n\n\ne",{"x":-0.5},{"w":0.5,"h":0.5},"2,0\n\n\n2,1\n\n\n\n\n\ne",{"w":0.5,"h":0.5},"2,1\n\n\n2,1\n\n\n\n\n\ne","4,6\n\n\n2,0"], + [{"y": -0.5, "x": 7.5}, {"h":0.5},"0,6\n\n\n0,1", {"x":-0.5}, {"h":0.5},"4,6\n\n\n2,1"], + [{"y": -1.25, "x": 3.5}, "1,3", {"x": 7.5}, "5,3"], + [{"y": -0.875, "x": 2.5}, "1,2", {"x": 1}, "1,4", {"x": 5.5}, "5,4", {"x": 1}, "5,2"], + [{"y": -0.875, "x": 5.5}, "1,5", {"x": 3.5}, "5,5"], + [{"y": -0.875, "x": 0.5}, "1,0", "1,1", {"x": 11.5}, "5,1", "5,0"], + [{"y": -0.625, "x": 6.5}, "1,6\n\n\n1,0",{"w":0.5,"h":0.5},"1,0\n\n\n1,1\n\n\n\n\n\ne",{"w":0.5,"h":0.5},"1,1\n\n\n1,1\n\n\n\n\n\ne",{"x":-0.5},{"w":0.5,"h":0.5},"3,0\n\n\n3,1\n\n\n\n\n\ne",{"w":0.5,"h":0.5},"3,1\n\n\n3,1\n\n\n\n\n\ne","5,6\n\n\n3,0"], + [{"y": -0.5, "x": 7.5}, {"h":0.5},"1,6\n\n\n1,1", {"x":-0.5}, {"h":0.5},"5,6\n\n\n3,1"], + [{"y": -1.25, "x": 3.5}, "2,3", {"x": 7.5}, "6,3"], + [{"y": -0.875, "x": 2.5}, "2,2", {"x": 1}, "2,4", {"x": 5.5}, "6,4", {"x": 1}, "6,2"], + [{"y": -0.875, "x": 5.5}, "2,5", {"x": 3.5}, "6,5"], + [{"y": -0.875, "x": 0.5}, "2,0", "2,1", {"x": 11.5}, "6,1", "6,0"], + [{"y": -0.125, "x": 4 }, "3,3", {"x": 6.5}, "7,3"], + [{"r": 15, "rx": 4.5, "ry": 9.1, "y": -4.85, "x": -0.5}, "3,4"], + [{"r": 30, "rx": 5.4, "ry": 9.3, "y": -5.05, "x": -1.4, "h": 1.5}, "3,5"], + [{"r": -30, "rx": 11.1, "y": -5.05, "x": 0.4, "h": 1.5}, "7,5"], + [{"r": -15, "rx": 12, "ry": 9.1, "y": -4.85, "x": -0.5}, "7,4"] + ] + } +}