Clicks and keyboard shortcuts

Discussion in 'Mod Discussions' started by Veleiro, June 13, 2013.

  1. Veleiro

    Veleiro Member

    Messages:
    112
    Likes Received:
    6
    I thought this would be client-side (hence, moddable in the alpha)?

    I didn't see anything related to controlling in-game actions sent to the server
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Right now keyboard shortcuts is hard coded, Uber said they want to fix that in future.
  3. Raevn

    Raevn Moderator Alumni

    Messages:
    4,226
    Likes Received:
    4,324
    You can capture them client side though:


    Code:
        $('input:text').keydown(
           function (event) {
               if (event.keyCode == <Some Key Code>)
                   <Do things>;
           }
       );

Share This Page