From: Mark Waters Date: Sat, 16 Mar 2013 11:06:59 +0000 (+0100) Subject: Added requested article_scroll_up and article_scroll_down keys. X-Git-Tag: 1.7.5~163^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=733ef11e0923e3a00f05bbeddc01c737623d8b94;p=tt-rss.git Added requested article_scroll_up and article_scroll_down keys. --- diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php index 76958190..97133d30 100644 --- a/plugins/googlereaderkeys/init.php +++ b/plugins/googlereaderkeys/init.php @@ -6,7 +6,7 @@ class GoogleReaderKeys extends Plugin { function about() { return array(1.0, - "Keyboard hotkeys like Google Reader", + "Keyboard hotkeys emulate Google Reader", "markwaters"); } @@ -19,13 +19,15 @@ class GoogleReaderKeys extends Plugin { function hook_hotkey_map($hotkeys) { - $hotkeys["j"] = "next_article_noscroll"; - $hotkeys["N"] = "next_feed"; - $hotkeys["k"] = "prev_article_noscroll"; - $hotkeys["P"] = "prev_feed"; - $hotkeys["v"] = "open_in_new_window"; - $hotkeys["(32)|space"] = "next_article"; - $hotkeys["r"] = "feed_refresh"; + $hotkeys["j"] = "next_article_noscroll"; + $hotkeys["k"] = "prev_article_noscroll"; + $hotkeys["N"] = "next_feed"; + $hotkeys["P"] = "prev_feed"; + $hotkeys["v"] = "open_in_new_window"; + $hotkeys["r"] = "feed_refresh"; + $hotkeys["(32)|space"] = "next_article"; + $hotkeys["(38)|up"] = "article_scroll_up"; + $hotkeys["(40)|down"] = "article_scroll_down"; return $hotkeys;