Attached is a project demo of the Button Switch debouncer, implemented entirely in software. It consumes no hardware resources and very little CPU cycles (<0.1%), which is particular useful for PSoC4. This is a draft version of the component, no datasheet or App Note available.
Check if it can be useful. In my view, using hardware debouncing for non-real time events, such as pressed buttons, is not justified on PSoC4 with limited resources. This is where software debounce fits well.