This rep contains the code (AWS Lambda - python and MPLAB X project files) and relevant STL Files for the project. The tutorial for the the above mentioned is available on Hackster.io at the following link:
The important part of the MPLAB X code is under the function: sendButtonPressToCloud in the application_manager.c file. The function is well documented.