Skip to content

Instantly share code, notes, and snippets.

@jocutajar
jocutajar / marble.ahk
Last active June 12, 2018 08:59
AHK marble X*Y scroll emulation
;;
;; Emulate_Scrolling_Middle_Button.ahk
;; Author: Erik Elmore <erik@ironsavior.net>
;; Version: 1.1 (Aug 16, 2005)
;;
;; Enables you to use any key with cursor movement
;; to emulate a scrolling middle button. While
;; the TriggerKey is held down, you may move the
;; mouse cursor up and down to send scroll wheel
;; events. If the cursor does not move by the
use std::io;
use bytes::Bytes;
use tokio_service::Service;
use tokio_proto::streaming::{Message, Body};
use futures::{future, Future, Stream};
use futures::sync::oneshot;
use model::request::SmtpCommand;
use model::response::SmtpReply;
pub struct SmtpService;