[Commits] [wesnoth/wesnoth] b9d3fb: Correct handling of Ctrl+Return/Enter hot-key.

GitHub noreply at github.com
Mon Aug 17 03:50:52 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b9d3fb6df35fe762855a25285415f9c28efec5ae
      https://github.com/wesnoth/wesnoth/commit/b9d3fb6df35fe762855a25285415f9c28efec5ae
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2015-08-14 (Fri, 14 Aug 2015)

  Changed paths:
    M src/hotkey/hotkey_item.cpp

  Log Message:
  -----------
  Correct handling of Ctrl+Return/Enter hot-key.

Added special handling for j and m characters, where their respective key codes do not match the j and m buttons on the keyboard.
This most likely means that they have come from Ctrl+Return/Enter keys, which resolves to Ctrl+j and Ctrl+m characters.

As a bonus, also corrected unexpected behaviour when attempting combinations such as Ctrl+: or Ctrl+F1. Previously they would resolve to Ctrl+` or Ctrl+@, at least in Windows.


  Commit: 929ec99d6fb933130f88a873d5b39584f1e8cc2e
      https://github.com/wesnoth/wesnoth/commit/929ec99d6fb933130f88a873d5b39584f1e8cc2e
  Author: Wedge009 <wedge009 at wedge009.net>
  Date:   2015-08-14 (Fri, 14 Aug 2015)

  Changed paths:
    M src/hotkey/hotkey_item.cpp

  Log Message:
  -----------
  Merge pull request #1 from Wedge009/Wedge009-hotkey-fix

Correct handling of Ctrl+Return/Enter hot-key.


  Commit: 5832925172b5ae17443915b8bf8a3a3491667ba4
      https://github.com/wesnoth/wesnoth/commit/5832925172b5ae17443915b8bf8a3a3491667ba4
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-17 (Mon, 17 Aug 2015)

  Changed paths:
    M src/hotkey/hotkey_item.cpp

  Log Message:
  -----------
  Merge pull request #450 from Wedge009/master

Correct handling of Ctrl+Return/Enter hot-key.


Compare: https://github.com/wesnoth/wesnoth/compare/6a37f437be99...5832925172b5


More information about the Commits mailing list