![]() |
|
|
#1 | |
|
Recien llegado
![]() Fecha de Ingreso: marzo-2007
Amigos 0
Mensajes: 23
Gracias: 0
Agradecido 2 veces en 2 mensajes.
|
En XBOX existen los Gamer Points. Son una especie de retos que te asignan un puntaje a tu cuenta de Xbox Live. Algunos gamers coleccionan estos puntos, incluso hay algunos que juegan todos los juegos solamente por los puntos. Pero existe un inconveniente...
Si estas en casa de un amigo y quieres acumular estos puntos necesitas "Recuperar tu Gamertag" que es descargar tu perfil en la consola de tu amigo. Este es un proceso lento y si no tienes un teclado USB conectado a tu Xbox es aun mas tardado ya que tienes que introducir letra por letra tu email, password y cuenta de Xbox Live. Utilizando el controlador Teensy 2.0 se puede emular un teclado y ponerle un programa que envie toda la informacion necesaria en el momento adecuado. Este dispositivo es muy peque~o, del tama~o de una memoria USB y se conecta al Xbox por USB. En la siguiente liga hay un VIDEO que muestra su uso:
Utilizando el Teensyduino para programarlo como emulador de teclado usb se puede utilizar el siguiente codigo para realizar la recuperacion automatica del gamertag. Unicamente es necesario cambiar GAMERTAG, EMAIL@DDRESS, y PASSWORD: Código:
// XBOX360 Gamertag Recovery using Teensy 2.0
// hkm @ hakim.ws
// http://hakim.ws/teensy/xbox360_gamertag_recovery/
//
// JUST REPLACE FOLLOWING STRINGS:
char gamertag[] = "GAMERTAG";
char email[] = "EMAIL@DDRESS";
char pass[] = "PASSWORD";
// END REPLACE - Done
// Plug before Gamertag field selection
int ledPin = 11;
void setup() {
pinMode(ledPin, OUTPUT);
}
void loop(){
delay(3000);
Enter(); //select Gamertag
delay(3000);
CommandAtXbox(gamertag); //send Gamertag
delay(1000);
Enter(); //select Done
delay(5000);
Enter(); //select Continue
delay(4000);
CommandAtXbox(email); //send Email address
delay(1000);
Enter(); //select Done
delay(5000);
CommandAtXbox(pass); //send Password
Enter(); //select Sign in
delay(13000);
Up();
Enter(); //select Accept
while (1)
delay(20000); //END (you should remove it now)
}
void CommandAtXbox(char *SomeCommand){ //from irongeek
digitalWrite(ledPin, HIGH); // set the LED on
Keyboard.set_modifier(0); //prep release of control keys
Keyboard.set_key1(0); //have to do this to keep it from hitting key multiple times.
Keyboard.send_now(); //Send the key changes
delay(1000);
Keyboard.print(SomeCommand);
Keyboard.set_key1(KEY_ENTER);
Keyboard.send_now();
Keyboard.set_key1(0);
Keyboard.send_now();
digitalWrite(ledPin, LOW); // set the LED off
}
void Enter(){
delay(1000);
digitalWrite(ledPin, HIGH); // set the LED on
Keyboard.set_modifier(0); //prep release of control keys
Keyboard.set_key1(0); //have to do this to keep it from hitting key multiple times.
Keyboard.send_now(); //Send the key changes
delay(500);
Keyboard.set_key1(KEY_ENTER);
Keyboard.send_now();
Keyboard.set_key1(0);
Keyboard.send_now();
digitalWrite(ledPin, LOW); // set the LED off
}
void Up(){
digitalWrite(ledPin, HIGH); // set the LED on
Keyboard.set_modifier(0); //prep release of control keys
Keyboard.set_key1(0); //have to do this to keep it from hitting key multiple times.
Keyboard.send_now(); //Send the key changes
delay(500);
Keyboard.set_key1(KEY_UP);
Keyboard.send_now();
Keyboard.set_key1(0);
Keyboard.send_now();
digitalWrite(ledPin, LOW); // set the LED off
}
hkm |
|
|
|
|
![]() |
| Etiquetas |
| gamertag, recupera, teensy, xbox |
| Herramientas | |
| Desplegado | |
|
|
