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

 
 

bug #43621: Create faster shortcuts for basic play

Submitted by:  None
Submitted on:  Sat Nov 15 18:54:54 2014  
 
Originator Name: Patrik SandvallOriginator Email: -unavailable-
Item Group: Feature RequestCategory: Graphical User Interface
Release: 1.02-ReleasePrivacy: Public
Operating System: LinuxOS Type: 64Bit
Processor Type: AMDSeverity: 3 - Normal
Open/Closed: OpenAssigned to: None
Priority: 5 - NormalStatus: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon Mar 23 16:35:35 2015, 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 Nov 15 18:54:54 2014, 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1