diff options
| author | yiancar <yiangosyiangou@cytanet.com.cy> | 2018-08-28 16:03:11 +0300 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-08-28 09:03:11 -0400 |
| commit | fdd0f915271f79b104aa5d216566bcc3fd134e85 (patch) | |
| tree | 42656e9ebd132461b99d7b037563374e575053ae /quantum/quantum.h | |
| parent | 2410f023598af65a551b42f569a2703a5621bdca (diff) | |
| download | qmk_firmware-fdd0f915271f79b104aa5d216566bcc3fd134e85.tar.gz qmk_firmware-fdd0f915271f79b104aa5d216566bcc3fd134e85.zip | |
ISSI31FL3733 driver (#3679)
* ISSI31FL3733 driver
- Addapted IS31 driver for the above driver
* fix my branch
* ISSI31FL3733 driver
- Inclusion of above ISSI led driver
* IS31fl3733 driver
- Added correct function for control registers
* Finalized support for ISSI31fl3733 led driver
- Finalized and tested driver.
- Modified i2c_master for arm due to declaration mistake.
- Fixed spaces/tabs in quantum.h file.
- Fixed spaces/tabs in common_features.mk file.
- Removed unnecessary includes from rgb_matrix.c file.
- Added local definitions for MIN and MAX macros in rgb_matrix.c file.
- Adjusted chevron effect.
- Added necessary define (RGB_3733_MATRIX_ENABLE) for makefile.
- Added necessary C define (ISSI3733) to aid with inclusion of the correct header file.
- Added documentation for the new driver.
* Driver structure update
- Changed rule includes to be more condensed (RGB_MATRIX_ENABLE = IS31FL3731) and (RGB_MATRIX_ENABLE = IS31FL3733)
- Updated documentation
- Reverted to the use of differently named functions for each driver and selecting the needed ones within rgb_matrix.c
* ISSI Drivers refractoring
- Moved issi drivers in a dedicated folder
- Updated documentation
* I2C library fix
I released the special pins incorrectly before. It is now fixed.
Diffstat (limited to 'quantum/quantum.h')
| -rw-r--r-- | quantum/quantum.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index 1db9846f0..b4e4de174 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | #include "backlight.h" | 28 | #include "backlight.h" |
| 29 | #endif | 29 | #endif |
| 30 | #if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE) | 30 | #if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE) |
| 31 | #include "rgb.h" | 31 | #include "rgb.h" |
| 32 | #endif | 32 | #endif |
| 33 | #ifdef RGBLIGHT_ENABLE | 33 | #ifdef RGBLIGHT_ENABLE |
| 34 | #include "rgblight.h" | 34 | #include "rgblight.h" |
| @@ -39,7 +39,7 @@ | |||
| 39 | #endif | 39 | #endif |
| 40 | 40 | ||
| 41 | #ifdef RGB_MATRIX_ENABLE | 41 | #ifdef RGB_MATRIX_ENABLE |
| 42 | #include "rgb_matrix.h" | 42 | #include "rgb_matrix.h" |
| 43 | #endif | 43 | #endif |
| 44 | 44 | ||
| 45 | #include "action_layer.h" | 45 | #include "action_layer.h" |
| @@ -58,78 +58,78 @@ | |||
| 58 | extern uint32_t default_layer_state; | 58 | extern uint32_t default_layer_state; |
| 59 | 59 | ||
| 60 | #ifndef NO_ACTION_LAYER | 60 | #ifndef NO_ACTION_LAYER |
| 61 | extern uint32_t layer_state; | 61 | extern uint32_t layer_state; |
| 62 | #endif | 62 | #endif |
| 63 | 63 | ||
| 64 | #ifdef MIDI_ENABLE | 64 | #ifdef MIDI_ENABLE |
| 65 | #ifdef MIDI_ADVANCED | 65 | #ifdef MIDI_ADVANCED |
| 66 | #include "process_midi.h" | 66 | #include "process_midi.h" |
| 67 | #endif | 67 | #endif |
| 68 | #endif // MIDI_ENABLE | 68 | #endif // MIDI_ENABLE |
| 69 | 69 | ||
| 70 | #ifdef AUDIO_ENABLE | 70 | #ifdef AUDIO_ENABLE |
| 71 | #include "audio.h" | 71 | #include "audio.h" |
| 72 | #include "process_audio.h" | 72 | #include "process_audio.h" |
| 73 | #ifdef AUDIO_CLICKY | 73 | #ifdef AUDIO_CLICKY |
| 74 | #include "process_clicky.h" | 74 | #include "process_clicky.h" |
| 75 | #endif // AUDIO_CLICKY | 75 | #endif // AUDIO_CLICKY |
| 76 | #endif | 76 | #endif |
| 77 | 77 | ||
| 78 | #ifdef STENO_ENABLE | 78 | #ifdef STENO_ENABLE |
| 79 | #include "process_steno.h" | 79 | #include "process_steno.h" |
| 80 | #endif | 80 | #endif |
| 81 | 81 | ||
| 82 | #if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) | 82 | #if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) |
| 83 | #include "process_music.h" | 83 | #include "process_music.h" |
| 84 | #endif | 84 | #endif |
| 85 | 85 | ||
| 86 | #ifndef DISABLE_LEADER | 86 | #ifndef DISABLE_LEADER |
| 87 | #include "process_leader.h" | 87 | #include "process_leader.h" |
| 88 | #endif | 88 | #endif |
| 89 | 89 | ||
| 90 | #define DISABLE_CHORDING | 90 | #define DISABLE_CHORDING |
| 91 | #ifndef DISABLE_CHORDING | 91 | #ifndef DISABLE_CHORDING |
| 92 | #include "process_chording.h" | 92 | #include "process_chording.h" |
| 93 | #endif | 93 | #endif |
| 94 | 94 | ||
| 95 | #ifdef UNICODE_ENABLE | 95 | #ifdef UNICODE_ENABLE |
| 96 | #include "process_unicode.h" | 96 | #include "process_unicode.h" |
| 97 | #endif | 97 | #endif |
| 98 | 98 | ||
| 99 | #ifdef UCIS_ENABLE | 99 | #ifdef UCIS_ENABLE |
| 100 | #include "process_ucis.h" | 100 | #include "process_ucis.h" |
| 101 | #endif | 101 | #endif |
| 102 | 102 | ||
| 103 | #ifdef UNICODEMAP_ENABLE | 103 | #ifdef UNICODEMAP_ENABLE |
| 104 | #include "process_unicodemap.h" | 104 | #include "process_unicodemap.h" |
| 105 | #endif | 105 | #endif |
| 106 | 106 | ||
| 107 | #include "process_tap_dance.h" | 107 | #include "process_tap_dance.h" |
| 108 | 108 | ||
| 109 | #ifdef PRINTING_ENABLE | 109 | #ifdef PRINTING_ENABLE |
| 110 | #include "process_printer.h" | 110 | #include "process_printer.h" |
| 111 | #endif | 111 | #endif |
| 112 | 112 | ||
| 113 | #ifdef AUTO_SHIFT_ENABLE | 113 | #ifdef AUTO_SHIFT_ENABLE |
| 114 | #include "process_auto_shift.h" | 114 | #include "process_auto_shift.h" |
| 115 | #endif | 115 | #endif |
| 116 | 116 | ||
| 117 | #ifdef COMBO_ENABLE | 117 | #ifdef COMBO_ENABLE |
| 118 | #include "process_combo.h" | 118 | #include "process_combo.h" |
| 119 | #endif | 119 | #endif |
| 120 | 120 | ||
| 121 | #ifdef KEY_LOCK_ENABLE | 121 | #ifdef KEY_LOCK_ENABLE |
| 122 | #include "process_key_lock.h" | 122 | #include "process_key_lock.h" |
| 123 | #endif | 123 | #endif |
| 124 | 124 | ||
| 125 | #ifdef TERMINAL_ENABLE | 125 | #ifdef TERMINAL_ENABLE |
| 126 | #include "process_terminal.h" | 126 | #include "process_terminal.h" |
| 127 | #else | 127 | #else |
| 128 | #include "process_terminal_nop.h" | 128 | #include "process_terminal_nop.h" |
| 129 | #endif | 129 | #endif |
| 130 | 130 | ||
| 131 | #ifdef HD44780_ENABLE | 131 | #ifdef HD44780_ENABLE |
| 132 | #include "hd44780.h" | 132 | #include "hd44780.h" |
| 133 | #endif | 133 | #endif |
| 134 | 134 | ||
| 135 | #define STRINGIZE(z) #z | 135 | #define STRINGIZE(z) #z |
