ULX

Author Topic: ULX Voting & Laptops  (Read 2322 times)

0 Members and 1 Guest are viewing this topic.

Offline hymsan

  • Newbie
  • *
  • Posts: 28
  • Karma: 2
ULX Voting & Laptops
« on: April 06, 2011, 02:06:54 PM »
It appears that when you create a ULX vote, whether it be about the map change, or a votekick or voteban.

It only detects the numbers that are above your letters, as in, not the numpad.

Basically because the way garry's mod is setup, on the standard keyboard it has a row of numbers above the letters, all of these keys are considered "Number Slots" if you go in game, and type:

Code: [Select]
bind 1
It will return "1" = "slot1"

However, on a laptop the numpad keys take the spot of the numpad keys,

Such as, slot1 is bound to "+gm_special 1" on a laptop.

The thing is, on a lot of laptops, the top row of keys above the letters all the keys are bound special, so people with laptops have to rebind their keys to vote.


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Voting & Laptops
« Reply #1 on: April 06, 2011, 07:06:46 PM »
We're using a standard gmod function to hook into bindings (AddPlayerOption), so this would be a suggestion better taken up with Garry. We could write code to also catch the gm_special commands, but it seems entirely too fiddly for how many people this issue affects.
Experiencing God's grace one day at a time.