aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Incomplete/StandaloneProgrammer/DiskDevice.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-21 20:48:57 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-21 20:48:57 +0000
commit5ec9d04bcaa0f48098441f36dd6d048ff32ecb99 (patch)
tree0edbda5dabbd0fb6295b27aa7db12baa96438f7e /Projects/Incomplete/StandaloneProgrammer/DiskDevice.h
parent5f709e281eec223c5de9766a99bdd54339e149cb (diff)
parent55283475d3e1c8191b3569524d35066566ceb0e7 (diff)
downloadlufa-5ec9d04bcaa0f48098441f36dd6d048ff32ecb99.tar.gz
lufa-5ec9d04bcaa0f48098441f36dd6d048ff32ecb99.tar.bz2
lufa-5ec9d04bcaa0f48098441f36dd6d048ff32ecb99.zip
AppConfigHeaders: Merge in latest trunk.
Diffstat (limited to 'Projects/Incomplete/StandaloneProgrammer/DiskDevice.h')
0 files changed, 0 insertions, 0 deletions
'n146' href='#n146'>146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
# Bootmagic

There are three separate but related features that allow you to change the behavior of your keyboard without reflashing. While each of them have similar functionality, it is accessed in different ways depending on how your keyboard is configured.

**Bootmagic** is a system for configuring your keyboard while it initializes. To trigger a Bootmagic command, hold down the Bootmagic key and one or more command keys.

**Bootmagic Keycodes** are prefixed with `MAGIC_`, and allow you to access the Bootmagic functionality *after* your keyboard has initialized. To use the keycodes, assign them to your keymap as you would any other keycode.

**Command**, formerly known as **Magic**, is another feature that allows you to control different aspects of your keyboard. While it shares some functionality with Bootmagic, it also allows you to do things that Bootmagic does not, such as printing version information to the console. For more information, see [Command](feature_command.md).

On some keyboards Bootmagic is disabled by default. If this is the case, it must be explicitly enabled in your `rules.mk` with:

```make
BOOTMAGIC_ENABLE = full
```

?> You may see `yes` being used in place of `full`, and this is okay. However, `yes` is deprecated, and ideally `full` (or `lite`) should be used instead.

Additionally, you can use [Bootmagic Lite](#bootmagic-lite) (a scaled down, very basic version of Bootmagic) by adding the following to your `rules.mk` file:

```make
BOOTMAGIC_ENABLE = lite
```

## Hotkeys

Hold down the Bootmagic key (Space by default) and the desired hotkey while plugging in your keyboard. For example, holding Space+`B` should cause it to enter the bootloader.

|Hotkey            |Description                                  |
|------------------|---------------------------------------------|
|Escape            |Ignore Bootmagic configuration in EEPROM     |
|`B`               |Enter the bootloader                         |
|`D`               |Toggle debugging over serial                 |
|`X`               |Toggle key matrix debugging                  |
|`K`               |Toggle keyboard debugging                    |
|`M`               |Toggle mouse debugging                       |