boolean function ( boolean arg0 ) { if ( ! mLastButtonState && arg0 ) { mCurrentState = true ; } else { mCurrentState = false ; } mLastButtonState = arg0 ; return mCurrentState ; }
will check for a rising edge using the last saved state and the provided state concode_field_sep boolean mLastButtonState concode_elem_sep boolean mCurrentState concode_field_sep boolean get