Change keybinding names for NumPad bindings #533


  • New
Closed
Assigned to nevcairiel
  • _ForgeUser19982 created this issue Nov 26, 2010

    What is the enhancement in mind? How should it look and feel?
    The current implementation uses long names for NumPad keybindings displayed on/over the buttons. i.e. "Num Pad 0".  This is too long to be displayed.  All NumPad keybindings are truncated and appear as "Num ..." over the buttons.  You cannot tell which key it is bound to, you just know it is a NumPad key.  Reverting to the old method of using "N-0" would work much better for NumPad keybindings.

    Please provide any additional information below.
    I doubt this is an issue for too many people as most don't bind NumPad keys.  This was not an issue for me until I got a Razer Nage MMO mouse.  It has a 12 button keypad on the thumb side of the mouse.  I have those buttons assigned to the NumPad keys to give me 12 hotkeys on my mouse thumb.

    If this is too low a priority, please tell me which module(s) to dig thru.  I believe the new method was added not long ago.  I could probably figure out how to revert the changes if I had the old source and knew where to start looking.

  • _ForgeUser19982 added the tags New Enhancment Nov 26, 2010
  • _ForgeUser19982 added an attachment WoWScrnShot_112610_002823.jpg Nov 26, 2010

    WoWScrnShot_112610_002823.jpg

    <p>NumPad keybinding text</p>

  • _ForgeUser19982 posted a comment Dec 28, 2010

    I was able to work around this by modifying LibActionButton to substitute "N-" for "Num Pad " at line 923.

    local MyKey = string.gsub(text,"Num Pad (.)","N-%1")
    self.hotkey:SetVertexColor(0,1,0,1)
    self.hotkey:SetText(MyKey)
    

    Edited Dec 28, 2010

To post a comment, please login or register a new account.