Snapmove

@rebindv0.1.2

Last-key-wins movement resolution for WASD.

Files

lib/games.luau

-- snapmove/lib/games.luau — Hardcoded list of FPS games for auto-detection.
-- Each entry is a case-insensitive substring matched against the foreground
-- window's title and process name.

local games = {
  -- Counter-Strike
  "cs2",
  "csgo",
  "counter-strike",
  -- VALORANT
  "valorant",
  "shooterGame",
  -- Apex Legends
  "r5apex",
  "apex legends",
  -- Call of Duty
  "modern warfare",
  "call of duty",
  "black ops",
  "cod",
  -- Overwatch
  "overwatch",
  -- Rainbow Six Siege
  "rainbowsix",
  "rainbow six",
  -- Fortnite
  "fortnite",
  -- Escape from Tarkov
  "escapefromtarkov",
  "escape from tarkov",
  -- Battlefield
  "bf2042",
  "bf1",
  "bfv",
  "battlefield",
  -- Rust
  "rustclient",
  "rust",
  -- Destiny 2
  "destiny2",
  -- PUBG
  "tslgame",
  "playerunknown",
  "pubg",
  -- Splitgate
  "portalwars",
  "splitgate",
  -- Quake
  "quake",
  -- Halo Infinite
  "haloinfinite",
  "halo infinite",
  -- The Finals
  "discovery", -- The Finals
  "the finals",
  -- XDefiant
  "xdefiant",
  -- DOOM Eternal
  "doometernal",
  "doom eternal",
  -- Team Fortress 2
  "hl2",
  "team fortress",
  -- Warframe
  "warframe",
  -- Hunt: Showdown
  "hunt",
  -- Titanfall 2
  "titanfall",
  -- Squad
  "squad",
  -- Hell Let Loose
  "hell",
  -- Insurgency: Sandstorm
  "insurgency",
  -- Arma
  "arma",
}

return games