Skip to content

Commit

Permalink
Initial commit kdereview->git without history
Browse files Browse the repository at this point in the history
  • Loading branch information
jehrichs committed Mar 26, 2011
0 parents commit 2b1999d
Show file tree
Hide file tree
Showing 85 changed files with 12,531 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Jörg Ehrichs <joerg.ehrichs@gmx.de>
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 2.6)

project(wacomtablet)

add_subdirectory( src )
add_subdirectory( data )
add_subdirectory( images )

339 changes: 339 additions & 0 deletions COPYING

Large diffs are not rendered by default.

1,541 changes: 1,541 additions & 0 deletions Doxyfile

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions Mainpage.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**

@mainpage KCM tablet - Kontrol module for Wacom Graphictablets

@author Jörg Ehrichs <joerg.ehrichs@gmx.de>


*/
4 changes: 4 additions & 0 deletions Messages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /bin/sh
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/wacomtablet.pot
rm -f rc.cpp
91 changes: 91 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
KDE 4 KCModule

This module implements a GUI for the Wacom Linux Drivers and extends it
with profile support to handle different button / pen layouts per profile.

For hardware support have a look at http://www.linuxwacom.sourceforge.net

Easy profile switching is added via a small plasma applet.
In addition a daemon running in the background helps with hotplug support.

All tablets can be set up as long as they are found via xorg.conf or HAL configuration.

Components:
* kded:
runs in the background, detects a connected tablet and applies the pad button / stylus profile

* kcontrol module:
unified gui to set-up the buttons and other aspects of the tablet

* plasma-applet:
optional applet for easy switching between different profiles

Dependencies:
* wacom tablet driver especially the xsetwacom tool

#################################################################
# install with

mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
make
make install

# start with

kcmshell4 kcm_wacomtablet

or have a look in the system settings where the keyboard and mouse settings are

##################################################################
# Add missing tablet devices

If your device is not recognized by this program but you can set it up via the xsetwacom driver.
You can add the missing lines yourself.

All you need is the tabletID.

------------------------------------------------
Step 1) Get real internal Tablet name

xsetwacom list dev

for my Wacom Bamboo:
Wacom Bamboo eraser ERASER
Wacom Bamboo cursor CURSOR
Wacom Bamboo pad PAD
Wacom Bamboo STYLUS

------------------------------------------------
Step 2) Then you need the Tablet ID

xsetwacom get "Wacom Bamboo" tabletid

for my Wacom Bamboo:
101

------------------------------------------------
Step 3) Transform it into Hexadecimal

For my Wacom Bamboo: 0065

------------------------------------------------
Step 4) Add a new section into the right datafile
look at /usr/share/kde4/apps/wacomtablet/data/

for the Wacom Bamboo the right file is: wacom_devicelist

Add a new entry

for my Wacom Bamboo:

[0065]
model=MTE_450 # try to google for it but not used right now
layout=bl_6 # can be empty if no button layout is available that exists (see images dir)
name=Wacom Bamboo # name as found above
padbuttons=4 # available buttons on the pad
wheel=no
touchring=yes
touchstripl=no
touchstripr=no
6 changes: 6 additions & 0 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
install( FILES companylist
default_devicelist
wacom_devicelist
waltop_devicelist
toshiba_devicelist
DESTINATION ${DATA_INSTALL_DIR}/wacomtablet/data )
19 changes: 19 additions & 0 deletions data/companylist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[056a]
name=Wacom Co., Ltd
listfile=wacom_devicelist
driver=wacom-tools

[172f]
name=Waltop
listfile=waltop_devicelist
driver=wacom-tools

[0930]
name=Toshiba
listfile=toshiba_devicelist
driver=wacom-tools

[wacom-default]
name=Unknown company
listfile=default_devicelist
driver=wacom-tools
8 changes: 8 additions & 0 deletions data/default_devicelist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[wacom-default]
model=unknown
name=unknown
padbuttons=0
touchring=no
touchstripl=no
touchstripr=no

8 changes: 8 additions & 0 deletions data/toshiba_devicelist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

[default]
model=unknown
name=unknown device
padbuttons=0
touchring=no
touchstripl=no
touchstripr=no
Loading

0 comments on commit 2b1999d

Please sign in to comment.