GPC Library

NETFLIX | Controller lock (XBOX ONLY?)

Press SELECT + MENU to lock the controller to avoid any accidental inputs interrupting your binge watching.

While in lock mode, press A to pause, B to rewind 20-30 seconds, or X to toggle close captions. If close captions does not toggle (A.K.A it was on when you started the script) then just press X again and it will toggle.

If anyone else has any ideas for this let me know. I haven't tested this for PS4, the controls could be slightly different, requiring different combos for CC and rewind.
Version 1
Author terp outmypores
Publish Date 2017-01-08 09:04:52
Update Date 2017-01-08 09:16:06
Downloads 24
RATE


2

0

Release Notes:
Code:Select all
/*==============================================================================|
	AUTHOR   :  terp outmypores (xbox GT)									  //|									     
	Controls :	Locks the controller so you can't accidentally rewind	      //|
	   SELECT + MENU : Toggle on/off										  //|
			   A     : Pause/Play 											  //|
			   B	 : Rewind 20-30 seconds								      //|
			   X	 : Toggle closed captions (hit twice if it doesn't work)*///|
define VIBRATE_TIME = 250; // change your vibrate time 							|
define RUMBLE 		=   1; // use rumble 2 if you want							|
/*******************************************************************************| 
 This Script was made and intended for www.cronusmax.com & CronusMAX ONLY.      | 
 UNLESS permission is given by the creator and/or copywritee,                   | 
 All rights reserved. This material may not be reproduced, displayed,           | 
 modified or distributed without the express prior written permission of the    | 
 copyright holder. For permission, contact CronusMax.                           | 
     __  ____   ___   ____   __ __  _____ ___ ___   ____  __ __                 | 
    /  ]|    \ /   \ |    \ |  |  |/ ___/|   |   | /    ||  |  |                | 
   /  / |  D  )     ||  _  ||  |  (   \_ | _   _ ||  o  ||  |  |                | 
  /  /  |    /|  O  ||  |  ||  |  |\__  ||  \_/  ||     ||_   _|                | 
 /   \_ |    \|     ||  |  ||  :  |/  \ ||   |   ||  _  ||     |                | 
 \     ||  .  \     ||  |  ||     |\    ||   |   ||  |  ||  |  |                | 
  \____||__|\_|\___/ |__|__| \__,_| \___||___|___||__|__||__|__|                | 
                                                                                | 
*///****************************************************************************|
int LOCK = FALSE;															  //
int CC = FALSE;															  	 //
main{															  			//
	if(get_val(XB1_VIEW)&&event_press(XB1_MENU))						   //
				  {LOCK=!LOCK;combo_run(VIBRATE);}						  //
	if(LOCK){							  								 //
		if(get_val(XB1_A))combo_run(VIBRATE)							//
		if(get_val(XB1_B)){set_val(XB1_B,0);					 	   //
		    combo_run(REWIND);combo_run(VIBRATE);}					  //
	   if(get_val(XB1_X)){set_val(XB1_X,0);CC=!CC;					 //
		 combo_run(CC_TOGGLE);combo_run(VIBRATE);}					//
		if(get_val(XB1_Y))		  set_val(XB1_Y,0)				   //
		if(get_val(XB1_UP))		 set_val(XB1_UP,0)				  //
		if(get_val(XB1_DOWN))  set_val(XB1_DOWN,0)				 //
		if(get_val(XB1_LEFT))  set_val(XB1_LEFT,0)				//
		if(get_val(XB1_RIGHT))set_val(XB1_RIGHT,0)			   //
		if(get_val(XB1_LX))		 set_val(XB1_LX,0)			  //
		if(get_val(XB1_LY))		 set_val(XB1_LY,0)			 //
		if(get_val(XB1_LS))		 set_val(XB1_LS,0)			//
		if(get_val(XB1_RX))		 set_val(XB1_RX,0)		   //
		if(get_val(XB1_RY))		 set_val(XB1_RY,0)		  //
		if(get_val(XB1_RS))		 set_val(XB1_RS,0)		 //
		if(get_val(XB1_LT))		 set_val(XB1_LT,0)		//
		if(get_val(XB1_LB))		 set_val(XB1_LB,0)	   //
		if(get_val(XB1_RT))		 set_val(XB1_RT,0)	  //
		if(get_val(XB1_RB))		 set_val(XB1_RB,0)	 //
		if(get_val(XB1_VIEW))  set_val(XB1_VIEW,0)	//
		if(get_val(XB1_MENU))  set_val(XB1_MENU,0)//|
		if(get_val(XB1_XBOX))set_val(XB1_XBOX,0)}}//|
combo CC_TOGGLE{								  //
	set_val(XB1_UP,   100);wait(100);			 //
	set_val(XB1_UP,     0);wait(100);			//
	set_val(XB1_UP,   100);wait(100);		   //
	set_val(XB1_UP,     0);wait(100);		  //
	set_val(XB1_A,    100);wait(100);		 //
	set_val(XB1_A,      0);wait(100);	   //|
	set_val(XB1_UP,   100);wait(100);	   //|
	set_val(XB1_UP,     0);wait(100);	   //|
	set_val(XB1_UP,   100);wait(100);	   //|
	set_val(XB1_UP,     0);wait(100);	   //|
	if(CC){set_val(XB1_DOWN,   100);}      //|
	wait(100);set_val(XB1_A,   100);}      //|
combo REWIND{						       //|
	set_val(XB1_DOWN, 100);wait(100);	   //|
	set_val(XB1_DOWN,   0);wait(100);	   //|
	set_val(XB1_LEFT, 100);wait(100);	   //|
	set_val(XB1_LEFT,   0);wait(100);	   //|
	set_val(XB1_LEFT, 100);wait(100);	   //|
	set_val(XB1_LEFT,   0);wait(100);	   //|
	set_val(XB1_A,             100);}	   //|
combo VIBRATE{							   //|
	if(RUMBLE==1)set_rumble(RUMBLE_A, 100);//|
	else set_rumble(RUMBLE_B, 100);		   //
	wait(VIBRATE_TIME);					  //
	reset_rumble();}					 //
//======================================//
  • Rating

    10 / 10 here !

    If you own a ps3 and prefer an xbox controller, or even use a keyboard and mouse, this is a must to remap your keyboard to a controller. Go buy it now you won't be disappointed !

  • Rating

    Amazing device

    If you're like me and love your PS4 controller but want to use an Xbox One GET THIS you won't be sorry.

  • Rating

    Worth every penny

    The controller feels and performs as it does on the xbox right there on my ps3, awesome job guys, and worth every penny !!!

  • Rating

    Amazing Macro combos

    tested Super Street Fighter IV Arcade Edition. I was able to perform normal & FADC combos with some characters like Ryu and Ken with a single click. Amazing.

  • Rating

    As good as a XIM

    If you are a pc gamer, that needs a pc solution for console, get yourself a ControllerMAX you will not regret it.

  • Rating

    KB & Mouse RULES!

    All I can say playing 10 minutes with ControllerMAX properly configured it felt better then PC....YES I said it even better then PC, it's that smooth.

  • Rating

    Six-Axis 360!

    WOW! I can finally get that six-axis awesomeness on my Xbox 360. The best money I ever spent.

  • Rating

    Beats all rapidfire mods

    I've tried the Intensafire, Godfather even the new Wolf controller. The ControllerMAX beats them hands down and no wires or soldering too. 5 Stars!

  • Rating

    Just perfect!

    I can't believe how much this can do for the price tag - it blew me away. Best controller upgrade ever.

  • Rating

    Hugh Thanks!

    Without your help I couldn't be playing Xbox, thanks guys.

  • Rating

    Wow!

    I have to say after reading the forums for Destiny Mouse and Keyboard setup I was flying into getting it set up in 20 minutes. It works outstanding! I'm more then satisfied and its worth every penny!

  • Rating

    Achievement Unlocked!

    Idle boosting Complete 150 Multiplayer games, James Cameron's Avatar. My friend said it would be hard, I laughed then linked him.

  • Rating

    A++!

    Now this is a company you can count on and trust...keep up the great work guys!

  • Rating

    What Disability?

    I would like to thank you for making the CronusMax. I have this problem hitting L3 and R3, and today that problem was fixed. I love the remap feature on the Cronus max. You made my life easier.

  • Rating

    Awesome stuff guys!

    Playing Forza 5 with my original MS 360 wireless wheel makes the XB1 complete for me, thanks to the CronusMax. Thumbs up!