1SUMMARY="Control your mouse with the keyboard" 2DESCRIPTION="KeyCursor lets you control the mouse pointer with the keyboard. 3 4In the preference window, you choose the modifier key combination that will toggle control on/off. \ 5When toggled on, the cursor keys will move the mouse pointer. 6Hit SPACE for a left-click, SHIFT+SPACE for a right-click. 7PageUp and PageDown act as a vertical mouse wheel. 8 9An optional icon in the Deskbar tray shows if control is onor off." 10HOMEPAGE="https://github.com/HaikuArchives/KeyCursor" 11COPYRIGHT="Oscar Lesta, Humdinger" 12LICENSE="Be Sample Code License 13 MIT" 14REVISION="1" 15SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz" 16CHECKSUM_SHA256="19933dc183d6841a8650d8e9a033bc953082a2c337da070d9b986a14b3b084c1" 17SOURCE_DIR="KeyCursor-$portVersion" 18 19ARCHITECTURES="all" 20 21PROVIDES=" 22 keycursor = $portVersion 23 add_on:KeyCursorInputDevice = $portVersion 24 add_on:KeyCursorInputFilter = $portVersion 25 app:KeyCursor = $portVersion 26 " 27REQUIRES=" 28 haiku 29 " 30 31BUILD_REQUIRES=" 32 haiku_devel 33 " 34BUILD_PREREQUIRES=" 35 makefile_engine 36 cmd:g++ 37 cmd:make 38 " 39 40BUILD() 41{ 42 make $jobArgs 43} 44 45INSTALL() 46{ 47 mkdir -p $preferencesDir \ 48 $addOnsDir/input_server/{devices,filters} 49 50 cp src/KeyCursor $addOnsDir/input_server/devices/KeyCursorDevice 51 cp src/KeyCursor $addOnsDir/input_server/filters/KeyCursorFilter 52 cp preflet/KeyCursor $preferencesDir 53 54 addPreferencesDeskbarSymlink $preferencesDir/KeyCursor 55} 56