lizy14 / gaming-in-xv6

term project of _Operating Systems_.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gaming in xv6

Adding gaming support for the xv6 OS.

As term project of the course Operating Systems.

demo

There is a user-mode game "snake" as demonstration, accepting both keyboard and gamepad input.

keyboard control

make qemu
$ snake

gamepad control

additional dependencies

sudo add-apt-repository ppa:grumbel/ppa
sudo apt-get -q update
sudo apt-get -q install xboxdrv
sudo apt-get -q install python-virtkey

then

sudo make xbox-daemon
make qemu
$ snake

if does not work, try sudo killall python sudo killall xboxdrv

Tested only with Microsoft X-Box 360 pad (USB 045e:028e).

notes

For details, please refer to our wiki and the original README file.

By Bin Liu, Yonghe Wang, Zhaoyang Li, Zizhao Zhang, June 2016.

About

term project of _Operating Systems_.

License:Other


Languages

Language:C 79.8%Language:C++ 7.7%Language:Assembly 3.5%Language:Makefile 3.4%Language:Shell 2.3%Language:Perl 2.1%Language:OpenEdge ABL 0.8%Language:Python 0.4%Language:Emacs Lisp 0.0%