User Tag List

Results 1 to 1 of 1

Thread: [2.5x (all)] 8-Way Movement with USB Gamepads

  1. #1
    The Timelord
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Prydon Academy
    98 Post(s)
    1 Thread(s)
    vBActivity - Stats
    vBActivity - Bars
    Lv. Percent
    Daily Activity
    Weekly Activity
    Monthly Activity

    [2.5x (all)] 8-Way Movement with USB Gamepads

    So, even with my superb Buffalo controller, 8-way movement with a USB controller is still wacky. It often goes at diagonals, when shifting from an U/D cardinal, to a L/R cardinal (or the reverse). This feels like an input ghosting issue, except it's clearly Allegro.

    (I had originally thought that my controllers were just rubbish, but even the HQ products like the Buffalo pad, and the RetroUSB adapter do this.)

    Perhaps adding in a tiny delay when reading input, to shift between the D/D and L/R cardinals would fix it, so that ZC doesn't take that change in (two) presses as a (single) diagonal. Moreover, that diagonal often continues until released, and the intended direction is pressed a second time.

    I'm going to check if JoyToKey would fix it. That might be a viable workaround, as long as ZC doesn't stop accepting key presses.

    Update: JoyToKey does improve matters, although there is still some level of ghosting. That could be the dell USB host controller, though.
    Last edited by ZoriaRPG; 11-28-2015 at 04:33 AM.

    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.