Allow keyboard input using Xbox pad

This commit is contained in:
Ryan Dortmans
2004-10-25 12:40:05 +00:00
parent 91bcfc4a9e
commit 0e3fe5d6cc
6 changed files with 484 additions and 1 deletions
+9
View File
@@ -9,6 +9,10 @@
#include "ScreenTextEntry.h"
#include "ScreenPrompt.h"
#if defined(XBOX)
#include "archutils/Xbox/VirtualKeyboard.h"
#endif
enum {
PO_PLAYER1,
@@ -173,6 +177,11 @@ void ScreenProfileOptions::MenuStart( PlayerNumber pn, const InputEventType type
switch( GetCurrentRow() )
{
case PO_CREATE_NEW:
#if defined(XBOX)
XBOX_VKB.Reset(VKMODE_PROFILE); // set the xbox virtual keyboard to profile mode
#endif
SCREENMAN->TextEntry( SM_DoneCreating, "Enter a profile name", "", NULL );
break;
case PO_DELETE_: