# Raspberry Pi Questions / Issues

**URL:** <https://discourse.ioquake.org/t/raspberry-pi-questions-issues/535>\
**Category:** avp\
**Created:** [August 25, 2015, 12:35pm UTC](https://discourse.ioquake.org/t/raspberry-pi-questions-issues/535 "2015-08-25T12:35:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smithers](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Smithers](https://discourse.ioquake.org/u/Smithers)\
**Post date:** [August 25, 2015, 12:35pm UTC](https://discourse.ioquake.org/t/raspberry-pi-questions-issues/535/1 "2015-08-25T12:35:11Z")

</div>

Hi.

I am having some issues with the Raspberry Pi build of AVP - see below:

- Cannot grab the mouse - I can see this issue has been raised for Linux before and should be fixed but it still does not work on the Pi? Pressing +G does not grab the mouse, it just remains as a mouse pointer over the top of the game in the background.

- Joypad input - I can’t get my joypad to be recognised in AVP. It normally works fine in other SDL2 ports? Is there a flag I need to set or a toggle inside the console to get it to be recognised?

- Alien Demo compiling - This may be me being a noob but I can’t find where I need to set the -DALIEN\_DEMO flag in the Makefile? 😊 The Readme file states “ **_add -DALIEN\_DEMO to_**  
\*\*\*the CFLAGS line (the one that’s uncommented) in the Makefile.\*\*\*”, but I can’t find any ‘CFLAGS’ line in the Makefile?

Other than the above it is working great and its a nice addition to my Pi games collection! I just can’t really play it without either a) mouse support or b) joystick support. 😢

Here are the flags I set whilst making (I’m using a Pi 2):

cmake … -DSDL\_TYPE=SDL2 -DOPENGL\_TYPE=OPENGLES -DCMAKE\_C\_FLAGS= “-DNDEBUG -Ofast -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math -fno-math-errno -g -DFIXED\_WINDOW\_SIZE” -DCMAKE\_CXX\_FLAGS="-DNDEBUG -Ofast -pipe -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -ffast-math -fno-math-errno -g -DDFIXED\_WINDOW\_SIZE" -DCMAKE\_EXE\_LINKER\_FLAGS="-g"

All the best.  
Steve
