Add support for custom gyro alignment. (#1580)
Add support for custom gyro alignment.10.7.0-preview
commit
4474fbfc9b
|
@ -322,6 +322,10 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
'CW 270° flip'
|
'CW 270° flip'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if (semver.gte(CONFIG.apiVersion, "1.42.0")) {
|
||||||
|
alignments.push('Custom');
|
||||||
|
}
|
||||||
|
|
||||||
var gyro_align_content_e = $('.tab-configuration .gyro_align_content');
|
var gyro_align_content_e = $('.tab-configuration .gyro_align_content');
|
||||||
var legacy_gyro_alignment_e = $('.tab-configuration .legacy_gyro_alignment');
|
var legacy_gyro_alignment_e = $('.tab-configuration .legacy_gyro_alignment');
|
||||||
var legacy_accel_alignment_e = $('.tab-configuration .legacy_accel_alignment');
|
var legacy_accel_alignment_e = $('.tab-configuration .legacy_accel_alignment');
|
||||||
|
|
Loading…
Reference in New Issue