Skip to content

Adds voice-activated shortcuts with a focus on the NBA 2K games.

Notifications You must be signed in to change notification settings

leftos/nba-2k-speech-commands

Repository files navigation

NBA 2K Speech Recognition Tool
	by Lefteris "Leftos" Aslanoglou


	Overview
		This tool was built to provide Kinect-like Speech Recognition capabilities to the NBA 2K series, with a focus on NBA 2K12 and later. It uses Microsoft's Speech Recognition and the driver-level SendInput command to recognize user commands and emulate keyboard presses, resulting in in-game commands.


	First Time Setup
		The keyboard mapping will be adjustable in the future, but in this preview version you should remap the keyboard controls to the following:
		
		Pass - S
		Shoot - A
		Fake Pass - D
		Post Up - W
		Sprint - E
		Clutch - Q
		Positional Plays - Tab
		Icon Pass - R
		D-Pad Up - Up Arrow
		D-Pad Down - Down Arrow
		D-Pad Left - Left Arrow
		D-Pad Right - Right Arrow
		Call Timeout - Backspace


	Commands
		Visit the Add/Edit Commands window to see what you need to say for each command, and to also add and edit commands.


	Credits
		- Uses the InputManager library (http://www.codeproject.com/Articles/117657/InputManager-library-Track-user-input-and-simulate)


	Version History
		v0.3.1.3
			- Fixed crash when a command has the empty string as an activating voice command

		v0.3.1.1
			- Attempt to fix Speech Recognition Engine culture issue

		v0.3.1
			- Minor bug fixes

		v0.3
			- 'Call Timeout/Intentional Foul' (usually Back/Select) has been added to the buttons available for commands
			- 'Call Timeout' and 'Intentional Foul' commands added

		v0.2
			- Users can now add and edit commands

		v0.1
			- Initial Release


	License
		Copyright 2011-2013 Eleftherios Aslanoglou

		Licensed under the Apache License, Version 2.0 (the "License");
		you may not use this file except in compliance with the License.
		You may obtain a copy of the License at

		http://www.apache.org/licenses/LICENSE-2.0

		Unless required by applicable law or agreed to in writing, software
		distributed under the License is distributed on an "AS IS" BASIS,
		WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
		See the License for the specific language governing permissions and
		limitations under the License.

About

Adds voice-activated shortcuts with a focus on the NBA 2K games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages