View Single Post
Old 01-10-2013, 01:00 PM   #56
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
@benalb

Thank you for commenting. I'm really glad you like Librerator.

Edit: The following is fixed in Librerator R2, and therefore obsolete.
Spoiler:
@Iņigo
Special service for you, my friend. Making fw_left/fw_right do -10/+10 pages. crereader.lua.

Code:
	self.commands:add(KEY_FW_LEFT, nil, nil, nil, -- hiden from help screen - only usable on K4NT
		function(self)
			if G_ScreenKB_pressed then
				G_ScreenKB_pressed = false
				return
			end
			self:goto(self.pageno-10, true, "page")
		end
	)
	self.commands:add(KEY_FW_RIGHT, nil, nil, nil, -- hiden from help screen - only usable on K4NT
		function(self)
			if G_ScreenKB_pressed then
				G_ScreenKB_pressed = false
				self:gotoInput()
				return
			end
			self:goto(self.pageno+10, true, "page")
		end
	)
Bear in mind that this is an ugly (but quick) hack. It won't work in scroll mode.

Last edited by Kai771; 01-15-2013 at 05:40 PM.
Kai771 is offline   Reply With Quote