Home hardware button, and the other button that i don't know the name

Are there any events for this 2 buttons?


I just want to catch this buttons for 1 purpose, and onPause and onResume they do not serve me because onPause is activated when screen is bloqued, or power on button is pressed, i don’t want execute nothing in last cases, just i want to control minimize intentionally by these buttons.