SOCD Algorithm Logic, Parameter Boundaries, and Adaptation for Different Gaming Scenarios

  1. Home
  2. News
  3. Technical Briefs
  4. SOCD Algorithm Logic, Parameter Boundaries, and Adaptation for Different Gaming Scenarios

The algorithm logic for SOCD (Simultaneous Opposite Cardinal Directions) is straightforward: when opposing keys—such as A/D or W/S—are pressed simultaneously, a set of predefined rules determines which input takes precedence. The real engineering challenge lies in defining “parameter boundaries” and ensuring “scenario adaptation.” With magnetic switches, which feature ultra-shallow actuation and “Rapid Trigger” functionality, SOCD response times are compressed to the millisecond level. Furthermore, different games have conflicting requirements regarding SOCD compliance: official Counter-Strike 2 (CS2) servers prohibit SOCD-like features, whereas VALORANT tournaments permit them. Consequently, a “proper” SOCD design is not a one-size-fits-all algorithm; rather, it allows users to switch between different priority rules based on the specific game and its compliance requirements.


 

I. SOCD Algorithm Logic: Four Rules, Four Outcomes

SOCD addresses conflicts that arise when two keys representing opposite directions are activated simultaneously. Taking A (left) and D (right) as an example, the firmware of a magnetic-switch keyboard must select one of four common rules to determine the output:

Last Input Priority: The most recently pressed key overrides the previously pressed one. If you are holding A (moving left) and press D, the output immediately switches to “right,” effectively ignoring the fact that A is still being held. This is the most popular rule among FPS players and serves as the core logic for features like “Snap Tap.”

Absolute Priority: One specific key is always prioritized, regardless of the order in which the keys were pressed. For instance, if “A has absolute priority,” then as long as A is held down, any input from D will be ignored. This rule is useful for specific playstyles that require a fixed directional priority.

Neutral: When two opposing keys are pressed simultaneously, the system sends no signal, causing the character to stop moving. This is the standard, compliant rule in fighting game tournaments; it prevents unfair techniques—such as “SOCD crouch-blocking”—where a player could instantly transition from a defensive crouch to a standing position, bypassing the standard animation transition time.

No Cleaning: Both signals are sent to the computer simultaneously. If the game engine handles conflicts itself, the outcome depends on the game’s internal logic; if it does not, characters might get stuck in place or exhibit erratic behavior. This mode is generally not recommended for magnetic-switch keyboards, as the resulting output can be unpredictable.

 

II. Parameter Boundaries: How Magnetic Switches Narrow the “Activation Window” for SOCD

SOCD (Simultaneous Opposing Cardinal Directions) functionality does not inherently rely on magnetic switches; it can also be implemented on traditional mechanical keyboards via firmware. However, the unique characteristics of magnetic switches alter the actual conditions under which SOCD takes effect.

This is due to the interplay between the actuation point and “Rapid Trigger” technology. On a magnetic-switch keyboard, the actuation point can be set as shallow as 0.1mm, while Rapid Trigger ensures that a key resets the moment the finger begins to lift. Consequently, the “release” signal for the ‘A’ key is sent after the finger has lifted by only 0.1mm, compressing the physical overlap window between the ‘A’ and ‘D’ keys to an extremely short duration. Within this narrow window, the SOCD “last-input-priority” logic executes a switch, making the change in directional output nearly synchronous with the movement of the user’s fingers. In contrast, a traditional mechanical switch must wait for the key to return to a fixed reset point (typically around 2mm) before sending a release signal; this results in a longer overlap window and, consequently, a more noticeable delay in the SOCD switch.

An 8K polling rate does not, in itself, “make SOCD faster.” SOCD logic is processed within the keyboard’s firmware, independent of the polling rate. Rather, the value of an 8K polling rate lies in its ability to transmit the directional signal—once the SOCD logic has resolved it—to the computer within a 0.125ms reporting window, thereby minimizing the latency between the resolution of the input and its transmission to the system.

The boundary here lies in the distinction between a “full press” and a “partial press.” Wooting’s “Wootility” software offers an “Alternative fully pressed behavior” option: when both keys are pressed all the way down, the system allows both to remain active simultaneously. The logic behind this design is that while overlaps during shallow presses are managed by SOCD rules, deep presses—such as when a player intentionally holds down two opposing directional keys—are not forcibly resolved by the keyboard. Instead, the final interpretation is left to the game engine or the player’s intended action.

 

III. Scenario-Specific Adaptation: The Same SOCD Configuration May Be “Prohibited” in CS2 but “Permitted” in VALORANT

While the technical implementation of SOCD (Simultaneous Opposing Cardinal Directions) is straightforward, determining when it should be enabled is the real challenge. Variations in SOCD rules across different games and tournaments directly dictate how keyboard firmware should handle SOCD toggle logic and default configurations.

CS2 (Valve Official Servers): In an August 2024 announcement, Valve explicitly required players to disable “Snap Tap”-style SOCD features before joining official servers. The penalty for non-compliance is being kicked from the match—not an account ban. However, being kicked results in a loss for that match, making the practical impact significant. It is important to note that Valve’s prohibition targets SOCD-based input automation; “Rapid Trigger” is not on the prohibited list. Keyboard manufacturers (such as Wooting) have confirmed this in their own CS2 guides, advising users to ensure that SOCD features haven’t been accidentally enabled via shared configuration profiles.

VALORANT: The 2025 VCT (VALORANT Champions Tour) tournament rules permit the use of Snap Tap and SOCD, unless otherwise specified by league officials. As of November 2026, Riot has not issued any prohibitions for general competitive play. This means that the “last-input-priority” SOCD rule is both legal and widely utilized in VALORANT.

Fighting Games (e.g., 2XKO): Tournament rules for 2XKO—a title sponsored by Riot—are the most stringent. Simultaneous Left+Right inputs must result in a “neutral” state (no directional output), with “last-input-priority” strictly prohibited. Simultaneous Up+Down inputs must result in either an “Up” or “neutral” output; a “Down” output is not permitted. Furthermore, keyboards are not allowed to use external software scripts to emulate SOCD resolution. Consequently, for fighting games, magnetic-switch keyboards must be capable of switching to a “neutral mode,” and the firmware-level resolution logic must strictly adhere to the tournament’s specified output rules.

Apex Legends and Overwatch 2: As of now, no official statements specifically addressing SOCD have been identified for these titles. In casual gameplay, players can decide for themselves; however, when participating in tournaments, one must consult the specific rulebook for the event in question.

 

IV. Adaptive Design: How Keyboard Firmware Should Be Implemented

Given the aforementioned variations in rules, the SOCD (Simultaneous Opposing Cardinal Directions) implementation for magnetic-switch keyboards must satisfy three criteria.

First, it should offer multiple modes rather than a single, rigid rule. The firmware should include, at a minimum, three options: “Last Input Priority” (for FPS games), “Neutral” (for fighting games or compliance-focused scenarios), and “Off” (for games like CS2). Some keyboards—such as those from Wooting—also provide advanced options like “Absolute Priority” and “Full-Press Exceptions.”

Second, it should support binding specific configurations to individual games. Since CS2 and VALORANT have conflicting rules, players need to toggle their SOCD settings when switching between them. The most practical approach is to allow users to save SOCD settings into distinct keyboard profiles, which can then be switched quickly via hotkeys or driver software—eliminating the need to manually navigate through menus every time. Wooting’s CS2 guide, for instance, recommends saving separate profiles for “SOCD Enabled” and “SOCD Disabled.”

Third, the software interface should clearly indicate potential compliance risks. Next to the SOCD options, the driver or web-based configuration tool should provide a brief note—for example, stating that “CS2 official servers require SOCD to be disabled” or that “fighting game tournaments typically mandate ‘Neutral’ mode.” While not a technical necessity, this helps prevent users from being kicked from a match or disqualified due to a lack of awareness regarding the rules.

The Mechanics of Micro-switch Degradation in Gaming Mice and Strategies for Extending Their Lifespan
Menu