Long press detect circuit using mechanical switch