buggnubg - Bugs: bug #43621, Create faster shortcuts for basic...

 
 

bug #43621: Create faster shortcuts for basic play

Submitter:  None
Submitted:  Sat 15 Nov 2014 06:54:54 PM UTC
   
 
Originator Name:  Patrik Sandvall Originator Email:  * -email is unavailable-
Item Group:  Feature Request Category:  Graphical User Interface
Release:  * 1.02-Release Privacy:  Public
Operating System:  Linux Severity:  3 - Normal
Open/Closed:  Open Assigned to:  None
Priority:  5 - Normal Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 23 Mar 2015 04:35:35 PM UTC, comment #1: 

Until this is done, if at all, you could use AutoHotkey to convert plain keystrokes into their Ctrl counterpart.
http://ahkscript.org/

GnuBgKeys.ahk
;---------------------------------------
; If GnuBg's main window is the active window...
#IfWinActive ahk_class gdkWindowToplevel

; Take action on the following keystrokes:
d:: SendInput ^d  ;<D> sends <Ctrl-D> to double
a:: SendInput !ga ;<A> sends <Alt-G><A> (menu option) to accept
j:: SendInput !gj ;<J> sends <Alt-G><J> (menu option) to drop
r:: SendInput ^r  ;<R> sends <Ctrl-R> to roll the dice
f:: SendInput ^f  ;<F> sends <Ctrl-F> to pick up the dice

#IfWinActive
;---------------------------------------

You can change the keys before the '::' to suit yourself and add any other definitions that you like. For instance, you might prefer ::c for Cube (double), ::t for Take (accept), ::p for Pass (reject), ::d for Dice (roll), etc.

The keys that are sent must be what GnuBg is expecting. ^ repesents Ctrl, + is Shift and ! is Alt. Comments are denoted by ; and can be edited or removed without effect.


Anonymous
Sat 15 Nov 2014 06:54:54 PM UTC, original submission:  

Suggest removing need for holding ctrl for shortcuts, e.g. finished could be changed to F instead of ctrl-F. Especially Roll and Finished would be nice as single key shortcuts.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code