Last active
December 9, 2016 21:34
-
-
Save koush/e375e188db0eab6172c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // 2/24/2016 1:58:42 PM | |
| // Script generated by MAX Mapper Plugin | |
| //---------------------------------------- | |
| unmap PS4_SHARE; | |
| remap TRACE_1 -> PS4_SHARE; | |
| unmap PS4_TOUCH; | |
| remap TRACE_2 -> PS4_TOUCH; | |
| unmap PS4_OPTIONS; | |
| remap TRACE_3 -> PS4_OPTIONS; | |
| unmap PS4_ACCX; | |
| unmap PS4_ACCY; | |
| unmap PS4_ACCZ; | |
| main { | |
| if (get_val(XB1_VIEW) && get_val(XB1_MENU)) { | |
| set_val(TRACE_1, get_val(XB1_VIEW)); | |
| } | |
| else { | |
| set_val(TRACE_1, 0); | |
| } | |
| if (get_val(XB1_VIEW) && !get_val(XB1_MENU)) { | |
| set_val(TRACE_2, get_val(XB1_VIEW)); | |
| } | |
| else { | |
| set_val(TRACE_2, 0); | |
| } | |
| if (get_val(XB1_MENU) && !get_val(XB1_VIEW)) { | |
| set_val(TRACE_3, get_val(XB1_MENU)); | |
| } | |
| else { | |
| set_val(TRACE_3, 0); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment