ENIGMA Forums

Outsourcing saves money => Issues Help Desk => Topic started by: rcobra on April 30, 2016, 11:39:14 am

Title: gamepad
Post by: rcobra on April 30, 2016, 11:39:14 am
my gamepad (like usb ps3) on Linux does not work, or maybe I'm doing something badly

output:
Joystick name: DragonRise Inc.   Generic   USB  Joystick 
ccc: malloc.c:2372: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 *(sizeof(size_t))) - 1)) & ~((2 *(sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long) old_end & pagemask) == 0)' failed.

ps. test wine+gm81 is work
Title: Re: gamepad
Post by: Josh @ Dreamland on April 30, 2016, 05:51:04 pm
Can you show us the code you are using to load the joystick? There are some caveats to it which I'm having trouble remembering at the moment.
Title: Re: gamepad
Post by: Goombert on April 30, 2016, 07:08:18 pm
There is the Wiki for reference:
http://enigma-dev.org/docs/Wiki/Input_Functions
http://enigma-dev.org/docs/Wiki/Joystick_load
Title: Re: gamepad
Post by: rcobra on April 30, 2016, 07:09:36 pm
my example https://dl.dropboxusercontent.com/u/69870545/other/joytest.gm81
Title: Re: gamepad
Post by: rcobra on May 01, 2016, 09:28:11 am
I checked the gamepad does not work