The issue with the triggers is that you can press the triggers in slightly without actually triggering a button press which causes needed latency when gaming. To combat this I use an added hall-effect sensor for each trigger and use a comparator board I made with the LM393. The Xbox One controller uses hall effect sensors to determine how far the trigger is pushed down hall-effect --> MCU. I place the comparator board in between the the hall-effect and MCU so I can adjust when the trigger "triggers" with a trimmer potentiometer with great accuracy.
hall-effect --> comparator --> MCU