<commit_before>#include "stdafx.h"
#include "KeyboardCommands.hpp"

using namespace Annwvyn;

KeyboardCommands::KeyboardCommands() : constructListener()
{
}

void KeyboardCommands::KeyEvent(AnnKeyEvent e)
{
	if(e.isPressed())
	{
		switch (e.getKey())
		{
		default:
			break;
		case KeyCode::f12:
			AnnEngine::Instance()->resetOculusOrientation();
			break;
		case KeyCode::grave:
			AnnEngine::Instance()->toogleOnScreenConsole();
			break;
		case KeyCode::tab:
			AnnEngine::Instance()->toogleOculusPerfHUD();
			break;
		}
	}<commit_msg>add command to change the debug rendering mode<commit_after>#include "stdafx.h"
#include "KeyboardCommands.hpp"

using namespace Annwvyn;

KeyboardCommands::KeyboardCommands() : constructListener()
{
}

void KeyboardCommands::KeyEvent(AnnKeyEvent e)
{
	if(e.isPressed())
	{
		switch (e.getKey())
		{
		default:
			break;
		case KeyCode::f12:
			AnnEngine::Instance()->resetOculusOrientation();
			break;
		case KeyCode::grave:
			AnnEngine::Instance()->toogleOnScreenConsole();
			break;
		case KeyCode::tab:
			AnnEngine::Instance()->toogleOculusPerfHUD();
			break;
		case KeyCode::f1:
			OgreOculusRender::showRawView();
			break;
		case KeyCode::f2:
			OgreOculusRender::showMirrorView();
			break;
		case KeyCode::f3:
			OgreOculusRender::showMonscopicView();
			break;
		}
	}
{'fraction_non_alphanumeric': 0.14296520423600606, 'fraction_numerical': 0.00529500756429652, 'mean_word_length': 5.240566037735849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5189367', 'n_tokens_mistral': 524, 'n_tokens_neox': 468, 'n_words': 77}