Pages: 1
  Print  
Author Topic: gamepad  (Read 8579 times)
Offline (Male) rcobra
Posted on: April 30, 2016, 11:39:14 am
Member
Joined: Nov 2015
Posts: 67

View Profile WWW
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
Logged
ps.sorry for my english
Offline (Male) Josh @ Dreamland
Reply #1 Posted on: April 30, 2016, 05:51:04 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Goombert
Reply #2 Posted on: April 30, 2016, 07:08:18 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
There is the Wiki for reference:
http://enigma-dev.org/docs/Wiki/Input_Functions
http://enigma-dev.org/docs/Wiki/Joystick_load
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) rcobra
Reply #3 Posted on: April 30, 2016, 07:09:36 pm
Member
Joined: Nov 2015
Posts: 67

View Profile WWW
my example https://dl.dropboxusercontent.com/u/69870545/other/joytest.gm81
Logged
ps.sorry for my english
Offline (Male) rcobra
Reply #4 Posted on: May 01, 2016, 09:28:11 am
Member
Joined: Nov 2015
Posts: 67

View Profile WWW
I checked the gamepad does not work
Logged
ps.sorry for my english
Pages: 1
  Print