# Button settings extension

This extension to the codeplug allows to specify the function for each of the programmable buttons on the radio. Please note that not all TyT radios have all buttons described here.

##

    tytExtension:
      buttonSettings:
        longPressDuration: 1000
        sideButton1Short: Disabled
        sideButton1Long: Tone1750Hz
        sideButton2Short: MonitorToggle
        sideButton2Long: Disabled
        sideButton3Short: Disabled
        sideButton3Long: Disabled
        progButton1Short: Disabled
        progButton1Long: Disabled
        progButton2Short: Disabled
        progButton2Long: Disabled

## Button settings fields

sideButton1Short

sideButton1Long

sideButton2Short

sideButton2Long

sideButton3Short (Retevis RT84, Baofeng DM-1701)

sideButton3Long (Retevis RT84, Baofeng DM-1701)

progButton1Short (Retevis RT84, Baofeng DM-1701)

progButton1Long (Retevis RT84, Baofeng DM-1701)

progButton2Short (Retevis RT84, Baofeng DM-1701)

progButton2Long (Retevis RT84, Baofeng DM-1701)

- Specifies the different functions for each button press. Must be one of: Disabled, ToggleAllAlertTones, EmergencyOn, EmergencyOff, PowerSelect, MonitorToggle, OneTouch1-OneTouch6, RepeaterTalkaroundToggle, ScanToggle, SquelchToggle, PrivacyToggle, VoxToggle, ZoneIncrement, BatteryIndicator, LoneWorkerToggle, RecordToggle, RecordPlayback, RecordDeleteAll, Tone1750Hz, SwitchUpDown, RightKey, LeftKey or ZoneDecrement.

longPressDuration

- Specifies the long-press duration in milliseconds.