ghaerr / microwindows

The Nano-X Window System
Other
659 stars 90 forks source link

Mouse driver (Raspberry Pi) #27

Closed JulStrat closed 5 years ago

JulStrat commented 5 years ago

Hello. My env - Raspbian GNU/Linux 8 (jessie) Microwindows config - config.linux-fb Here is make output Compiling drivers/mou_devmice.c ... /var/tmp/gh/microwindows/src/drivers/mou_devmice.c: In function ‘Mice_Read’: /var/tmp/gh/microwindows/src/drivers/mou_devmice.c:156:24: error: ‘MW_BUTTON_M’ undeclared (first use in this function) if (middle) button |= MW_BUTTON_M; ^ /var/tmp/gh/microwindows/src/drivers/mou_devmice.c:156:24: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/gh/microwindows/src/drivers/mou_devmice.c:157:23: error: ‘MW_button_R’ undeclared (first use in this function) if (right) button |= MW_button_R; ^ /var/tmp/gh/microwindows/src/drivers/mou_devmice.c:159:8: error: ‘buttons’ undeclared (first use in this function) *bp = buttons; ^ /var/tmp/gh/microwindows/src/Makefile.rules:538: recipe for target '/var/tmp/gh/microwindows/src/obj/drivers/mou_devmice.o' failed make[1]: *** [/var/tmp/gh/microwindows/src/obj/drivers/mou_devmice.o] Error 1 /var/tmp/gh/microwindows/src/Makefile.rules:466: recipe for target 'subdir-/var/tmp/gh/microwindows/src/engine' failed make: *** [subdir-/var/tmp/gh/microwindows/src/engine] Error 2

ghaerr commented 5 years ago

@JulStrat : Thank you!