Keyboard mode
Last updated
Last updated
Keyboard mode allows you to send key codes as outputs, turning the IF Magic Device into a custom keyboard, remote, or automation hub for many of your devices.
The keyboard output interface, shown in image I, shows commonly used key commands. Toggle the menu in the top right corner to change categories, as shown in image II. Select the keycode you desire and press "add keycode" to add it to your equation.
Creating a custom key code: You will notice that at the bottom of the list of categories for commonly used key codes is a category called "custom." Selecting custom will open the menu shown in image III. You can then select keys from a drop down, as shown in image IV. Once you have your keys added, you can name the key code and click "Add Custom Keycode" to select it, as shown in image V. Note that if you build a custom keycode with multiple keys, it will be as though they are being pressed simultaneously. If you want to string together a chain of key commands, use sequences.
IMPORTANT: When you set an equation that involves Keycode outputs on a Device, you will notice that the Device disconnects in the app, and that you will not be able to connect to the Device using the IF Magic app. You must now connect the Device to the desired system (e.g., phone, computer – what you want to send the keyboard commands to) in the phone / computer’s Bluetooth settings, the same way you would connect any Bluetooth keyboard.
Exiting keyboard mode: When you wish to connect to the Device through the IF Magic app again, you are going to have to reset the Device out of keyboard mode. You will notice that when you cast an equation with a keyboard output, you will be prompted to select a reset port, as shown in image VI. Simply scroll up or down to adjust the port, and then press the green check when you are satisfied with the reset port to continue casting. This port needs to remain empty, so no other module can be using it in your equation. When you want to reset the Device out of keyboard mode, disconnect and forget it as a keyboard from your phone, put a button module into the selected reset port, and hold it down for 5 seconds. The Device should reset, and you should be able to reconnect through our app.