qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

outputselect.h (1078B)


      1 /*
      2 Copyright 2017 Priyadi Iman Nurcahyo
      3 This program is free software: you can redistribute it and/or modify
      4 it under the terms of the GNU General Public License as published by
      5 the Free Software Foundation, either version 2 of the License, or
      6 (at your option) any later version.
      7 This program is distributed in the hope that it will be useful,
      8 but WITHOUT ANY WARRANTY; without even the implied warranty of
      9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     10 GNU General Public License for more details.
     11 You should have received a copy of the GNU General Public License
     12 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     13 */
     14 
     15 #pragma once
     16 
     17 #include "connection.h"
     18 
     19 // DEPRECATED - DO NOT USE
     20 
     21 #define OUTPUT_AUTO CONNECTION_HOST_AUTO
     22 #define OUTPUT_NONE CONNECTION_HOST_NONE
     23 #define OUTPUT_USB CONNECTION_HOST_USB
     24 #define OUTPUT_BLUETOOTH CONNECTION_HOST_BLUETOOTH
     25 
     26 #define set_output connection_set_host_noeeprom
     27 #define where_to_send connection_get_host
     28 #define auto_detect_output connection_auto_detect_host
     29 
     30 void set_output_user(uint8_t output);