Thinkpad键盘是非常好用的一款键盘,体验和传统的Thinkpad笔记本键盘一样,而且还支持小红帽(Trackpoint,指点杆)。
小红帽在使用上双手不需要离开键盘,甚至不用移动手掌位置就可以控制鼠标,比起触摸板和普通鼠标来说,使用效率提高得非常多,而且不容易累和不容易鼠标手。小红帽中键上下滚屏功能更是方便至极。
不过Thinkpad USB键盘上面的小红帽,有个很大的问题:部分程序不能支持中键上下滚屏,尤其是基于Java的桌面程序,像Netbeans,Evennote等等。
之前找了非常多的方法,替换了几次官网上的驱动程序,而且国外的许多网站有很多人提出此问题,不过看情况官方是没兴趣解决这个问题。所以只能避免使用不支持的软件,也放弃了许多优秀的软件。
今天在研究idea软件的时候,意外找到了最好的解决方法,用AutoHotkey将小红帽的鼠标中键映射成滚屏。
原文出自这里。
AutoHotkey的使用可以Google一下,是功能极其强大的自动化操作辅助软件。
Autohotkey可以支持直接将脚本转换成exe,让不安装Autohotkey的电脑也可以用其功能,
这里我的将小红帽鼠标中键滚动的脚本做成了exe供下载:32位,64位
下载后直接运行就可以成功让小红帽支持中键滚屏。
以下是让Thinkpad USB键盘支持小红帽中键滚轮的Autohotkey脚本:
;;
;; Trackpoint.ahk
;; Author: Chiyuan Zhang <pluskid@gmail.com>
;; Version: 1.0 (Sep. 03, 2009)
;;
;; Thinkpad trackpoint driver on Windows doesn't allow
;; to use both middle-click and scrolling simultaneously.
;; If you enable the scrolling, you'll not be able to
;; click the middle button (e.g. to open a link in the
;; background in Firefox).
;;
;; However, on Linux, one can get a good behavior where
;; both middle-click and scrolling behaves well (see
;; www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint).
;;
;; This script trys to make it behave similarly. When you
;; press the middle button and release in a short time, it
;; will be a regular middle-click. However, if you hold it
;; and move the cursor, it will do scrolling.
;;
;; Configuration
;#NoTrayIcon
; Milliseconds threshold, hold the middle button for some time
; exceeding this will start to detect scrolling.
tp_StartScrollTThreshold = 70
; Pixels threshold, for both X and Y. Only when the mouse movement
; exceed this threshold will we start scrolling.
tp_StartScrollXThreshold = 7
tp_StartScrollYThreshold = 4
; Milliseconds interval to check further scrolling. Set this to a
; smaller value will make scrolling more fast, and vice versa.
tp_ScrollCheckInterval = 45
;; This key/Button activates scrolling
tp_TriggerKey = MButton
;; End of configuration
#Persistent
CoordMode, Mouse, Screen
Hotkey, %tp_TriggerKey%, tp_TriggerKeyDown
HotKey, %tp_TriggerKey% Up, tp_TriggerKeyUp
return
tp_TriggerKeyDown:
tp_Scroll = n
MouseGetPos, tp_OrigX, tp_OrigY
SetTimer, tp_CheckForScrollEventAndExecute, %tp_StartScrollTThreshold%
return
tp_TriggerKeyUp:
SetTimer, tp_CheckForScrollEventAndExecute, Off
;; Send a middle-click if we did not scroll
if tp_Scroll = n
MouseClick, Middle
return
tp_CheckForScrollEventAndExecute:
tp_Scroll = y
SetTimer, tp_CheckForScrollEventAndExecute, %tp_ScrollCheckInterval%
MouseGetPos, tp_NewX, tp_NewY
tp_DistanceX := tp_NewX - tp_OrigX
tp_DistanceY := tp_NewY - tp_OrigY
if tp_DistanceY > %tp_StartScrollYThreshold%
MouseClick, WheelDown
else if tp_DistanceY < -%tp_StartScrollYThreshold%
MouseClick, WheelUp
; 0x114 is WM_HSCROLL
if tp_DistanceX > %tp_StartScrollXThreshold%
{
ControlGetFocus, FocusedControl, A
SendMessage, 0x114, 1, 0, %FocusedControl%, A
}
else if tp_DistanceX < -%tp_StartScrollXThreshold%
{
ControlGetFocus, FocusedControl, A
SendMessage, 0x114, 0, 0, %FocusedControl%, A
}
return
分享到:
相关推荐
thinkpad键盘驱动是专门为联想旗下该系列的键盘打造的电脑键盘驱动,不仅能够保证键盘的正常工作,还能够让用户排查问题等,十分的方便。有需要的朋友赶紧快来下载吧!ThinkPadUSBTrackPoint键盘介绍紧凑简洁的键盘...
Thinkpad Trackpoint SK-8855 小红点驱动程序
请参阅将IBM Thinkpad 380ED键盘和Trackpoint转换为USB视频。 请参阅的键盘“ Instructable” 请参阅 请参阅的IBM Thinkpad 380ED转USB项目描述 Marcel的Python矩阵生成器程序将适用于Teensy LC,3.2和4.0。 他的...
ThinkPad Compact Bluetooth Keyboard with Trackpoint Driver 文件名:tp_compact_keyboard_1.5.6.0.exe 大小:18.8 MB 版本:V1.5.6.0
ThinkPad -- TrackPoint 辅助程序
ThinkPad -- TrackPoint鼠标驱动
全面介绍Thinkpad 笔记本的UltraNav操控界面的使用
在 Linux 下管理 Thinkpad 的 TrackPoint。 一些选项的功能: Sensitivity:通过小红帽控制鼠标时指针的移动速度,值越大,指针移动速度越快。 Upper Plateau Speed:按字面意思来看,是控制鼠标指针高速移动的性能。...
亲测Thinkpad X200 X201s X201i指点杆\UltraNav\TrackPoint驱动(win8、win10_64位)
联想的ThinkPad这次没有让大家失望,Z60系列在外形上保持了原厂IBM经典的全黑外壳。...Z60t的键盘保留了TrackPoint(即小红帽)操控,不过下方同样体提供了鼠标触摸屏,提供双鼠标操作系统,满足不同人士的喜好操作。
作为IBM ThinkPad R50笔记本的简化版本,R50e的差别还是不小的,这也是继IBM发布R40e之后的又一款简化版机型。相对于标准版R50,R50e主要去掉了1394接口,并且没有采用独立的显卡,而是改为Intel 855GME集成显卡,...
当今最强32位系统级调试器! Syser Debugger 是基于X86平台专门为 Windows NT 架构的系统开发的内核级和应用级全图形界面的... 中选择用 Debug with Syser 菜单项就可以进入我们的调试器进行原代码级 或汇编级调试。
让你愿意常态性使用的小红点| 丢掉滑鼠、丢掉电脑包里的肿块| 耐用 Easy to daily use | Throw away mouse, away bloated laptop bag | Durable Launch our New Version at February 2019! 触感:改善刮手问题...
DataHand DH200-6 带 USB 微控制器和激光轨迹球目标该项目的最初目标是用基于 ARM 的微控制器和 USB 接口替换 DataHand DH200-6 键盘中过时的固件,并将其用作使用 ADNS-9800 LaserStream 游戏的集成激光轨迹球的...
不能再让埋点继续侵入我们的逻辑了,我们需要做点什么trackpoint-tools埋点逻辑往往是侵入性的,我们需要将这块代码拆分出去。幸运的是es6,es7 给我们提供了可能。npm i trackpoint-tools --save使用trackpoint-...
Fn 键是一个组合键,它自己本身没有用,需要和其他功能键组合起来以迅速改变操作特征,它可以组合的键在键盘上都用蓝色标注,具体作用为: Fn+F3:关闭计算机显示器,保持黑屏。要再次打开计算机显示器,按任意键或...
带轨迹点的67键键盘 去做 完成按键图/图层 使tp重置无阻塞? uf2:降低RGB的亮度 每次按键更改都会发送3个报告。 问题? 在描述符中设置序列号? 检查uf2源。 添加到tud_descriptor_string_cb 合并SPI主和矩阵...
Garmin-GPS Menu convention
简单轨道SimpleTracks 是一个示例应用程序,它演示了 Windows Phone 8.1 中 TrackPoint Monitor API 的用法。 此应用程序可视化地图上的轨迹。 用户可以使用应用程序栏按钮查看过去 7 天的曲目以及曲目历史记录。 ...
VoodooSMBus 还包含在某些 Thinkpad 型号(T480s、L380、P52)的 SMBus 上找到的 ELAN Touchpad 设备的从设备驱动程序,从而可以有效地使用多点触控手势。 该项目深受启发,并完全重新实现了中的想法。 VoodooI2C ...