Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Stick polling to the minimum and no problems with buttons  (Read 1078 times)

0 Members and 1 Guest are viewing this topic.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Stick polling to the minimum and no problems with buttons
« on: November 01, 2009, 03:07:18 am »
MaLa does not separate joystick stick polling from joystick button polling and that is a problem. I like minimum joystick polling for browsing the game list quickly and with no delay at all. I have set joystick polling to the minimum (10), and scrolling acceleration to 0 (important). The problem lies in how buttons work with such slow polling. Pressing a button not quickly enough will register a double  press, that is, opening a menu, and closing it, for instance. Setting a low keyboard polling (e.g. 900) and remapping the joy buttons from a script is a perfect solution. Just an idea if you have not considered. Actually, I have tried it and it's working perfectly. I have no joystick buttons assigned in MaLa at all, but just up/down and left/right. All the buttons functions are integrated in the code of my Autohotkey script, which also adds extra functions such as displaying a custom image. With this idea you could even define button combinations (ala MAME), which you cannot do directly with MaLa. If you need any example, just tell me.
« Last Edit: November 01, 2009, 03:39:42 pm by Stormrider »