[Bf-taskforce25] Keyboard Shortcuts Proposal

Martin Poirier theeth at yahoo.com
Tue Jun 23 17:32:13 CEST 2009


This can probably be done easily with CSS.

Just have a style sheet with ID selectors (corresponding to the operators/functions) that fill in the proper hotkeys.

Assuming the wiki is built that way, making a py script export the custom CSS corresponding to your currently used hotkey map should be easy. It can then be used as a custom style on a webpage.

That way, changing a tutorial/documentation to fit your keymap can all be done locally.

Martin

--- On Tue, 6/23/09, Ben Cox <ben_cox_21 at hotmail.com> wrote:

> From: Ben Cox <ben_cox_21 at hotmail.com>
> Subject: Re: [Bf-taskforce25] Keyboard Shortcuts Proposal
> To: bf-taskforce25 at blender.org
> Received: Tuesday, June 23, 2009, 11:26 AM
> Oh, I should also add that having
> just finished my degree (wahey!) in
> Engineering and Comp Sci, and not starting my job until the
> end of
> September, I am very happy to develop or help develop this
> kind of library,
> if it is felt that there is a need for it - I have a fair
> amount of
> experience in server-side programming.
> 
> Ben
> 
> -----Original Message-----
> Date: Tue, 23 Jun 2009 11:59:41 +0100
> From: "Ben Cox" <ben_cox_21 at hotmail.com>
> Subject: Re: [Bf-taskforce25] Keyboard Shortcuts Proposal
> To: <bf-taskforce25 at blender.org>
> Message-ID: <COL115-DS815F42600C831BAA5CDDBD1360 at phx.gbl>
> Content-Type: text/plain; charset="us-ascii"
> 
> As several people have mentioned here, there appears to be
> an issue for
> newcomers to Blender in that they may be attempting
> tutorials or be being
> given information that uses a different keymap to their
> own. I'm going to
> chuck out an idea that came to me that may help solve this
> - what do you
> think?
> 
> The idea involves writing a web module, easily available at
> blender.org so
> that anyone can use it in their own site. When writing
> their tutorial, the
> author writes operations, rather than explicit
> button-presses. For example,
> let's say that the method chosen to implement this was by
> an XML parser of
> the "bl" namespace. Your tutorial might run something
> like:
> 
> "Hit <bl:key value="extrude" /> to start extruding,
> drag to the left by one
> unit and <bl:key value="operation-finalize" /> to
> confirm."
> 
> As opposed to:
> 
> "Hit E to start extruding, drag to the left by one unit and
> left-click to
> confirm."
> 
> When a user visits the site, they have the option, by
> clicking on a link, to
> upload their personal keymap file, which can be exported
> from Blender. The
> server takes this file and either stores the associated map
> as database-held
> user preferences (if the site has a login) or as a cookie.
> 
> Then, as the source of the requested page is being parsed,
> the <bl:key />
> tags are replaced by their associated key-presses. If no
> keymap file has
> been uploaded or otherwise indicated, then the default
> Blender key-presses
> are used. Otherwise, they are replaced with those held in
> the keymap,
> allowing each user to see a different version of the
> tutorial.
> 
> I hope I've explained this in at least a slightly cogent
> way - please say if
> not and I'll try to rephrase it! What do people think about
> it?
> 
> Ben
> 
> 
> _______________________________________________
> Bf-taskforce25 mailing list
> Bf-taskforce25 at blender.org
> http://lists.blender.org/mailman/listinfo/bf-taskforce25
> 


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/


More information about the Bf-taskforce25 mailing list