qmk_firmware/keyboards/handwired/videowriter
James Young a03aa301de
Remove Full Bootmagic (#13846)
* disambiguate Bootmagic rules in keymaps

The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic.

This commit edits the files to specify that full Bootmagic is intended.

* remove BOOTMAGIC_ENABLE=full setting

* unify commented BOOTMAGIC_ENABLE rules in keyboards

Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no       # Virtual DIP switch configuration;g' {} +
```

* remove commented Bootmagic rules from keymap/user level

Command:

```
find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} +
```

* update keyboard BOOTMAGIC_ENABLE rule formatting

Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later).

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
```

* update keyboards' BOOTMAGIC_ENABLE settings

Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' +
```

* update keymap/user BOOTMAGIC_ENABLE settings

Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used.

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' +
find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' +
```

* remove and replace inline comments in keyboards and keymap/user files

Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`.

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1     # Enable Bootmagic Lite;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1      # Enable Bootmagic Lite;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1       # Enable Bootmagic Lite;g' '{}' +
```

* rename improperly named makefiles

Some files intended to be used as makefiles had improper names causing them to not be used as intended when building.

This commit corrects the filenames of the affected files.

* update renamed file with new rule formatting

* update QMK's template files

Updates QMK's `rules.mk` templates to use the new inline comment.

* update QMK Docs

- remove documentation of full Bootmagic
- update links to Bootmagic Lite doc
- add doc for Magic Keycodes

* rules.mk patch for coarse/ixora and coarse/vinta
2021-08-06 23:59:56 -07:00
..
keymaps handwired/videowriter: oleg keymap update, via keymap (#10984) 2020-12-06 11:17:31 -08:00
config.h handwired/videowriter: oleg keymap update, via keymap (#10984) 2020-12-06 11:17:31 -08:00
info.json
readme.md
rules.mk Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
videowriter.c
videowriter.h

QMK-based firmware for Magnavox Videowriter keyboard

Matrix layout is based on info from this article.

Videowriter

Magnavox Videowriter keyboard conversion project: direct connection of Pro Micro to the matrix.

  • Keyboard Maintainer: DmNosachev
  • Hardware Supported: Alps-based Magnavox Videowriter keyboard, Pro Micro 16MHz 5V MCU board (you can use any MCU which is supported by QMK and has 18 or more IO).

Make example for this keyboard (after setting up your build environment):

make handwired/videowriter:default

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.

Modding

Matrix

Videowriter has 8x10 matrix:

col/row 0 1 2 3 4 5 6 7
0 51 LShift 39 Caps
1 08 Copy 07 Find 06 Split 05 Center 04 Page 03 Spell 02 Print 01 Menu
2 16 5 15 4 14 3 13 2 12 1 11 Delete 10 GoTo 09 Move
3 24 BkSpc 23 Equals 22 Minus 21 0 20 9 19 8 18 7 17 6
4 32 U 31 Y 30 T 29 R 28 E 27 W 26 Q 25 Tab
5 41 S 40 A 38 Return 37 ] 36 [ 35 P 34 O 33 I
6 49 ; 48 L 47 K 46 J 45 H 44 G 43 F 42 D
7 58 M 57 N 56 B 55 V 54 C 53 X 52 Z 50 "
8 67 Left 66 Up 65 Insert 64 Space 63 Style 61 / 60 . 59 ,
9 62 RShift 72 Undo 71 Help 70 Do 69 Right 68 Down

Separating Shift keys

Initially left and right Shift keys are connected in parrallel. You need to cut the traces from right Shift (switch 62) and wire it to column 2 (switch 65, right pin) and row 9 (switch 71, bottom pin).

Right shift

Stock components removal

SN74LS145N IC (BCD-to-decimal decoder, drives matrix rows), NEC D8049HC IC (MCU, drives matrix columns) and resistor array need to be desoldered from the PCB. You need to shorten the 4 diodes (D2D5) in the bottom right corner of the PCB (solder a wire between their pins). I've also removed two electrolytic capacitors and some ceramic capacitors just to free an additional space.

Optional: add diodes between each switch and corresponding row for NKRO. If you choose not to add them, create config.h file in your personal keymap folder and add #define MATRIX_HAS_GHOST to it.

Pro Micro

Suggested mount position for the Pro Micro:

PCB bottom side

  1. Solder two 8-pin headers to the Pro Micro (pin D1-B5 on the left side and pins F4-B6 on the right side).
  2. Solder the Pro Micro to the Videowriter's PCB.
  3. Solder 6 wire bridges (pink color on the photo).
  4. By this point rows 0-4 and all columns will be already in place.
  5. Connect rows 5-9 (see right side of the PCB) to the corresponding pins of the Pro Micro using additional wires.
  6. Optional: connect a push button between Reset and Ground pins.

PCB top side

Compile and flash the firmware. Use matrix debug mode if something is wrong.