Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enginkaratas/move-a-grafical-object-rectangle-with-xbox-360-controller-csharp-form

move an rectangle via. your XBOX 360 controller
https://github.com/enginkaratas/move-a-grafical-object-rectangle-with-xbox-360-controller-csharp-form

simulation xbox xbox-controller xbox360

Last synced: 5 days ago
JSON representation

move an rectangle via. your XBOX 360 controller

Awesome Lists containing this project

README

        

# Move a Grafical Object(Rectangle) With XBox 360 Controller C# Form
provide to use X,Y,B,A keys to move a object

![game](1.png)

If you want to just copy paste this example

Before start:

1)
You need to add two referance:


1.System.Runtime.WindowsRuntime

The Path:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5\System.Runtime.WindowsRuntime.dll

2.Windows.Gaming:
The Path:
C:\Windows\System32\WinMetadata\Windows.Gaming.winmd

2)Open a Windows form application project in C# and right click on project,Unload project
doubleclick unloaded project
add:
10.0
10.0 for windows 10
for windows 8 its 8.0
save
rightclick unloaded project
set reloadproject.