elect-gombe / quake-k210

quake for k210
GNU General Public License v2.0
46 stars 9 forks source link
3d game k210 kendryte maix quake

Quake for k210

Dualshock2 is now supported! I've tested E1 at shareware mode. The framerate is very stable(25~70fps), and it definitely playable.

Note that controls and brightness can change at options menu.

Default key configulation

buttons

Analog sticks

This functions is fixed by code.

build

install

  1. copy id1/pak?.pak to your SD. You can DL the package file in the official Quake shareware, or use full package file(s).
  2. connect your dualshock2 to k210. See source/k210.c.
    fpioa_set_function(18, FUNC_GPIOHS0 + DS2_CS);   //Dualshock2 ss
    fpioa_set_function(19, FUNC_GPIOHS0 + DS2_CLK); //clk
    fpioa_set_function(21, FUNC_GPIOHS0 + DS2_MOSI); //mosi--DO/CMD
    fpioa_set_function(20, FUNC_GPIOHS0 + DS2_MISO); //miso--DI/DAT
  3. Set each of jump, Atack and switch weapon function to the button(s).

implementation note

todo

Credits

original crtQuake (3DS port)

Felipe Izzo (MasterFeizz) - Main developer Rinnegatamante - Sound enhancements

Thanks to

Id Software - Source code of Quake