tweak tap exclusion area size & its default value
This commit is contained in:
@@ -1487,11 +1487,11 @@ static float L3_Y;
|
||||
dzHalfWidth = _selectButton.bounds.size.width * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
dzHalfHeight = _selectButton.bounds.size.height * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
} else if ([key isEqualToString:@"leftStickBackground"]) {
|
||||
dzHalfWidth = _l2Button.bounds.size.width * 0.7 * _oscTapExlusionAreaSizeFactor; // stick backgound size is too big to be the base line
|
||||
dzHalfHeight = _l2Button.bounds.size.height * 0.7 * _oscTapExlusionAreaSizeFactor;
|
||||
dzHalfWidth = _leftStickBackground.bounds.size.width * 0.5 * _oscTapExlusionAreaSizeFactor; // stick backgound size is too big to be the base line
|
||||
dzHalfHeight = _leftStickBackground.bounds.size.height * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
} else if ([key isEqualToString:@"rightStickBackground"]) {
|
||||
dzHalfWidth = _l2Button.bounds.size.width * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
dzHalfHeight = _l2Button.bounds.size.height * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
dzHalfWidth = _rightStickBackground.bounds.size.width * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
dzHalfHeight = _rightStickBackground.bounds.size.height * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
} else if ([key isEqualToString:@"r2Button"]) {
|
||||
dzHalfWidth = _r2Button.bounds.size.width * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
dzHalfHeight = _r2Button.bounds.size.height * 0.5 * _oscTapExlusionAreaSizeFactor;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<attribute name="onscreenControls" attributeType="Integer 32" defaultValueString="1" usesScalarValueType="NO" syncable="YES"/>
|
||||
<attribute name="optimizeGames" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES" syncable="YES"/>
|
||||
<attribute name="oscLayoutToolFingers" optional="YES" attributeType="Integer 16" defaultValueString="4" usesScalarValueType="NO" syncable="YES"/>
|
||||
<attribute name="oscTapExlusionAreaSize" optional="YES" attributeType="Float" defaultValueString="2.3" usesScalarValueType="NO" syncable="YES"/>
|
||||
<attribute name="oscTapExlusionAreaSize" optional="YES" attributeType="Float" defaultValueString="1.05" usesScalarValueType="NO" syncable="YES"/>
|
||||
<attribute name="playAudioOnPC" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES" syncable="YES"/>
|
||||
<attribute name="pointerVelocityModeDivider" optional="YES" attributeType="Float" defaultValueString="0.5" usesScalarValueType="NO" syncable="YES"/>
|
||||
<attribute name="preferredCodec" attributeType="Integer 32" defaultValueString="YES" usesScalarValueType="YES" syncable="YES"/>
|
||||
|
||||
Reference in New Issue
Block a user