Giter VIP home page Giter VIP logo

gfxtablet's People

Contributors

akdor1154 avatar kevinli avatar rfc2822 avatar romanbarczynski avatar techtonik avatar tonyg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gfxtablet's Issues

Driver installed, but my Notebook doesn't receive something.

Hey, I have installed the GfxTablet driver on Ubuntu 13.04 64bit, but if I want to draw on my Samsung Galaxy Note 8 my Notebool doesn't receive something.
I installed it according to the post from "devvv4ever" in thread 15.

I write in the terminal:
sudo apt-get install git
sudo apt-get install linux-headers-generic
git clone git://github.com/rfc2822/GfxTablet.git
cd GfxTablet
cd driver-uinput
make
sudo ./networktablet

After that stand in the terminal:
"GfxTablet driver (protocol version 1) is ready and listening on 0.0.0.0:40118 (UDP)
Hint: Make sure that this port is not blocked by your firewall."

I already opened the UDP port "40118".

In the app I write the correct IP-Adress from my Notebook.

What can I do that it work??
Thanks for help and sorry if my english are not so good.

Works in 32 bits?

sudo ./networktablet
error: ioctl UI_SET_EVBIT EV_KEY: Inappropriate ioctl for device
2.6.32-52-generic #114-Ubuntu SMP Wed Sep 11 19:00:15 UTC 2013 i686 GNU/Linux

Linux noob can't work out how to run at startup?

Not an issue with the programme as such, I just want it to run automatically when I boot up my machine, and can't work out how to do so. If you've got the time, a step by step would be awesome!
Cheers,
Hal

multiple monitors problem.

You made a great software!, but I have specific monitor configuration - two separate work environments (not expanded desktop). $DISPLAY variable on first monitor is equal ":0", and on the second ":0.1". How works GfxTablet on the phone?, like cut horizontal line in the middle of the screen, and i can only working on one half of screen.
gfxtablet
I hope is possible solve this problem.

Pressure sensor and Sense stylus do not work fine

Hi boys! Regards from Colombia! Congratulations for this app, it is amazing! However, I have some tiny troubles:

  1. The pressure sensor does not work for me. I checked the #1 and #2 reports about this issue. I suppose that you say something like edit some Java file in the PC. I looking for this file path in my PC, but this not exist.
  2. When I enable "Sense stylus only" in the app, the app stop working. Seems like the app stop to send data to the PC. What‘s wrong?

I use openSUSE 12.3, Android 4.0.4 and the last version of the app avaliable in Google Play Store.

Note: sorry for my poor english. .

Ubuntu 13.04 - what changed?

Please help,

I upgraded to Ubuntu 13.04 from 12.10 and Gfx Tablet doesnt work. Everything look like before (in Terminal), but when I draw on tablet in Gfx cursor on PC doesnt move. It worked perfectly on 12.10, thanks for your respond.

How does pressure sensitivity work?

I just installed your app, it's fantastic, works like a charm.

I was just wondering how pressure sensitivity worked because to the best of my knowledge my Nexus 10 doesn't have any such feature but when using GIMP2.8 it's able to pick up the pressure using your app. So is it software or hardware side?

Thanks again,
iseijin

Use as pointer

I'm not sure if this is an issue, a feature request or just a user error. Is there any way to use this to control the pointer on the pc? I'd be able to select all my brushes and settings and know where I'm pointing outside of the canvas.

Drawing - Sense Style only - Notification Bar still touchable

Hello,

unfortunately, the "Sense Style only" option does not prevent me from touching the notification bar with my hand. If this happens Gimp draws a line from the current point to the border of the picture. Is it possible to have a fullscreen mode that deactivates the notification bar completely?

Samsung Galaxy Note 10.1
Android 4.1.2

Enhancement / missing feature

I would like to use the tablet to make a handwritten presentation on a white board, using a connected computer and a videoprojector. It would be then be very convenient if GfxTablet would have an option to show what is being written drawn on the tablet, say just as when one writes on the "take note" app (actually this is much more convenient than raising the eyes to look on the computer screen...). Adding a button to erase the tablet screen and saving the screen as a PDF file (+ sending events in a certain way through the app, e.g. as clicking mouse buttons 2 and 3) would be quite helpful.

In fact, there is a cheap device called "Boogie Board RIP" that does exactly this. I would like to simulate this device (but probably with a better accuracy) on the Galaxy Note. My guess is that the required code might be not very hard to implement in GfxTablet. Of course drawing nice antialised curves on the tablet screen (with a linewidth that can be adjusted) would be a plus.

No cursor move

Hello,

I installed the App from the AppStore and compiled the Linux driver. I can use the Tablet to click, but not to move the cursor. If I click on the tabled the uinput driver shows dots in the command-line.

My system:
Ubuntu 12.10
Intel 32 Bit
Resolution 1024x768
Wacom Tablet

Tablet:
Acer A500
Android 4.0.3
Resolution 1280x800

Userspace driver for GIMP

Is it possible to create driver that will not require installation? Why can't GIMP just listen on a port to accept events and draw them?

If this is implemented, I am sure it will work on Windows and Mac OS X too.

Allow more than one "network host" in the settings

I'm using this app on a Samsung Galaxy Note 10.1. The Server is running on my workstation (a Gentoo Linux) and on my Laptop (Fedora). So far, it works quite well but it would be great if I could add more than one network host to the list so that I can select the right setting depending on the computer I want to use the tablet with.

Windows Support?

Hi there, Firstly, great idea! At the risk of sounding stupid, will this work on a PC running windows 7? Or if not is there any plans to develop it for windows?

Full screen mode

On my note 2, the Android notification bar and GFXTablet's header bar (including the settings button) are displayed on the long axis of the screen and take up a lot of space (about 15% of the area of the screen).

This whole area is insensitive (when the pen is in this area, nothing happens on my computer screen).

Can we get full screen option so I can use the full resolution of my phone? I'd rather access the settings via the menu button than have it onscreen all the time.

unable to install on pocket edge

I have a pocket edge device which has two wacom penabled screens in it and i would love to use this software with it, but i absolutely cannot install the apk files. I have 3rd party enabled, and i push the files to the device, but when I try to install the packages the package installer says "unable to parse the package" is there some sort of change or something which can be made or that i can make locally to install this app on that device? other than that i was able to install the software and connect perfectly from my htc evo3d to my pc and run it, but using a finger verse a stylus feels awkward.

Earl W Foote

button up/down in protocol description are confusing

When I put my finger on a tablet, the button number 0 is up (1) and when I take it off, button is "down" (0). 1 and 0 behave as expected, but up and down logic is confusing. I'd rename word "button" to "control" a changed "up/down" status to "active".

Feature request

Hello!

This tool is awesome!

I would like to know how far we would be from converting any Android device with touch screen to a handwriting input solution, especially for Chinese characters.
There is already a tool called Tegaki that integrates with ibus or scim and allows direct drawing (in a dedicated popup window).

Would it be possible to have a "Tegaki via Android"? I understand having feedback from the screen to the device would be a hassle, but just a drawing area with 3 buttons (validate, delete last stroke, reset).

error: open: No such file or directory

Hi,

      when I run ./networktablet

      it gave out such error: 

                        error: open: No such file or directory

      I don't know how to solve this problem, please help me.

Screen to tablet

Hey guys,

the whole thing is working fine on arch-linux using gnome shell!

Would it be possible to have a picture of the screen on the Android device?
Maybe it doesn't need to be a live-view. Only a screenshot for orientation could be a very nice feature to draw on.

Greetz

No pressure sensitivity

I am trying XorgTablet (XorgTablet-18012013.apk, Galaxy Note 10.1, Android 4.0.4) + xf86-networktablet (Debian Wheezy, xserver-xorg 1.12.4) + Gimp 2.8.2. Status: No pressure sensitivity.

I put some debug prints into the xf86-networktablet code. I see the incomming events always having pressure set to 0. My primary suspect is the following repeated code in CanvasView.java in XorgTablet:

(int)event.getPressure(ptr)*PRESSURE_RESOLUTION

The (int) cast takes precedence over the multiplication. It casts the 0.0 to 1.0 pressure value to zero. The following multiplication does not matter. Zero pressure is sent from the android device to the desktop.

I do not have the build chain for Android, so I cannot confirm ahead of time that fixing this makes things work for me.

Network connection completely unsecured. SSL would be nice.

A raw connection like that is very dangerous. Any XSS script in the user’s web browser can exploit that and send commands to click OK on a rootkit install dialog.

And since both Linux and Android support SSL very well, and SSL is easy to use, this is a an even better idea.
With it you just have to call one function to auto-negotiate an SSL connection based on a optional config file.
See the openssl s_client and openssl s_server commands for how easy it is.

:)

Arch OS issue

Haven't been able to get your program to run yet, any ideas on how to solve this

error: open: No such device

Left button always clicked && I cannot draw in GIMP.

I have three problems here.

  1. After I started the app and did the settings, the working area on my Android device is always very small. I looked in the code and found that it's initialised to 128x128. I modified it to the correct resolution of my tablet and this problem is solved.
  2. While I can move the cursor around by touching the tablet, it behaves like I'm moving a mouse with its left button clicked. When I move the cursor over some text, they're selected. Even if I touch carefully, it's the same case.
  3. After I've done the settings with GIMP, I still cannot draw with the tablet. I can move the cursor around but cannot draw anything. It's like the left button of the mouse is broken.

Environment: xorg-server 1.13.0, Linux 3.2.0-32-generic x86_64 Ubuntu, Linux Mint nadia (Ubuntu quantal).

Tablet: Acer Iconiatab A500, Android 4.0.3, Linux 2.6.39.4+

for windows ?

i'm sorry i'm not well familiar with computers, but my understanding says this app works only with linux .. is it so? if so then is a verion for windows available ? thanks

Not running on chakra linux

I compiled from source and everything went fine, but when I use ./networktablet (either with or without sudo i get this error

"error: open: No such file or directory"

Help a Newbi

Sorry to be "that guy" but I am very new to Linux and I am having a ton of trouble trying to get the driver onto my PC. Is there anyone who could take the time to hold my hand and walk me through how to get this driver onto my PC? I'm a Photoshop artist trying to make the shift from Mac to Linux and I really wanna give this app a try.

Relative motion support

I forked this (and the driver) and added an option to support relative input for touch input. This will open up a lot of options for gesture-based input such as two-finger scrolling or two/three fingers for right/middle click which I plan to implement soon. Feel free to give it a try and let me know if you're interested in merging it at some point.

Android app doesn't seem to connect or send anything

I am running networktablet on fedora 18 (compiled from source).

Seems to start up ok and listens on port 40118. But the android app just doesn't do anything, the linux process never receives anything. I can ping my laptop IP from my android device just fine using a ping app. There is no firewall running on the laptop. I used the laptop IP in the android app network setting. Any suggestion?

My android device is a Galaxy Note 2.

[jweiss@blinky driver-uinput]$ strace ./networktablet 
execve("./networktablet", ["./networktablet"], [/* 49 vars */]) = 0
brk(0)                                  = 0x2126000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f472c5d2000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=112370, ...}) = 0
mmap(NULL, 112370, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f472c5b6000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\33\2K1\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2071376, ...}) = 0
mmap(0x314b000000, 3896312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x314b000000
mprotect(0x314b1ad000, 2097152, PROT_NONE) = 0
mmap(0x314b3ad000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ad000) = 0x314b3ad000
mmap(0x314b3b3000, 17400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x314b3b3000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f472c5b5000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f472c5b3000
arch_prctl(ARCH_SET_FS, 0x7f472c5b3740) = 0
mprotect(0x314b3ad000, 16384, PROT_READ) = 0
mprotect(0x601000, 4096, PROT_READ)     = 0
mprotect(0x314ae20000, 4096, PROT_READ) = 0
munmap(0x7f472c5b6000, 112370)          = 0
open("/dev/uinput", O_WRONLY|O_NONBLOCK) = 3
ioctl(3, UI_SET_EVBIT, 0x1)             = 0
ioctl(3, UI_SET_KEYBIT, 0x14a)          = 0
ioctl(3, UI_SET_EVBIT, 0x3)             = 0
ioctl(3, UI_SET_ABSBIT, 0)              = 0
ioctl(3, UI_SET_ABSBIT, 0x1)            = 0
ioctl(3, UI_SET_ABSBIT, 0x18)           = 0
write(3, "Network Tablet\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1116) = 1116
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x45c) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
bind(4, {sa_family=AF_INET, sin_port=htons(40118), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
recvfrom(4, 

Second screen orientation

Hello,
GfxTablet has one forced screen orientation. In my device the buttons are on the right. When I draw, my hand is pushing the buttons. Can you add a second screen orientation (upside-down)?
Thanks for the great software,
thanks in advance.

GfxTablet and Archlinux

Hi guys, I need your help. I want to try GfxTablet (http://rfc2822.github.com/GfxTablet/) on my archlinux pc with gimp.
I compiled and ran this software (as explained on installation guide), but the input device (NetworkTablet) doesn't appear either in xinput list or in gimp input device.
The software starts and receives datas from the android app, but probably it could create the input device on arch. So I tryed to run it with sudo and to use this guide (https://wiki.archlinux.org/index.php/Wiimote#Unable_to_open_uinput) but nothing. Any solutions?

Simple pointing-only mode for non-hover-enabled devices.

It would be very simple:
• One finger: Point.
• Two fingers: Click 1st button.
• Three fingers: Click 2nd button.

On more modern devices, there’s support for detecting when the finger is hovering above the display.
But I don’t have that on my Galaxy S3 mini.
And still, this would allow more than one button, e.g. to map the second one to the eraser in drawing programs.

Even cooler would be simulating a “wheel” controlled by the distance between the first and the second finger. That would make it very easy to control the brush size on top of the opacity at the same time. (Can Wacoms even do that?)

please help - how to install on my pc

I don't understand what to do - Iam sorry but Iam not expert in linux

Ubuntu 12.10, 64bit

I downloaded this file uinput-networktablet-x86_64 from http://rfc2822.github.com/GfxTablet/
I double click on it and nothing happened, in properties is application/x-executable
In terminal: sudo: ./networktablet: command not found, chmod - its not possible to access uinput-networktablet-x86_64, file doesn't exist (I translate from czech)
In dev I don't have uinput
On my Samsung Galaxy Note 10.1 (Androin 4.1) I wrote my ip 192.168.1.36 and nothing happened
My pc and tablet are connected in my home wifi

please help me what to do

No data transmission

I recently got the driver to work on my install of Ubuntu. On my tablet I start up the app and and put in the IP of my laptop as the network host, but when I move my finger around the screen nothing comes through to the terminal. I've disabled the firewall on Ubuntu but for some reason I can't ping my tablet from my laptop, yet I can ping both from my router. The WiFi icon on my tablet doesn't show any network activity when I'm moving my finger on the screen with the app open and set up either.

Limit input to a specific pixel area?

Love the product. Thank you. Don't know if this is the best place to bring up this issue.

I want the gfxtablet application not stretch or interpolate the input at all, since this is not optimal for drawing. My tablet is an Samsung Note-8, with screen dimensions 1200x800. My desktop is 1920x1200. Is there a way to specify a region or application to use only a 1:1 pixel mapped area for the 1200x800 screen size?

I have tried running gfxtablet it within VNC of 1200x800 resolution. (Running LXDE on Fedora 18). I use the standand command: sudo ./networktablet.

It successfully engages the input from the tablet, but it sends the input to the whole desktop (including beyond just the VNC window). Is there a way to limit it to the vnc window size only? Or achieve a similar result?

Multi Monitor problem

I use a multi monitor system and i have a little problem with the cursor.
When i up the s-pen/finger on the screen of the device and down the cursor moved to a different area while should allow me to continue the movement.

Everything seems to work except the drawing bit.

Hello all,

I have hit a brick wall on this one and I hope someone out there can lend a helping hand. I am running Mageia 3 64 bit on my system.

Now, I have installed this app on the tablet and installed and run the uinput driver. The network monitor seems to recognise the port that the app is trying to use, gimp recognises that there is a tablet available and checking the tablet itself it does seem to be sending data. If I try to run the driver again I get "error: prepare_socket(): Address already in use". One thing I do not get are the dots in the terminal which suggest that input has been received.

Of course despite all this I can't seem to be able to draw anything.

Checking various other posts about problems I think it may be a problem with the firewall in Mageia 3. I have tried to disable it but I don't think it is working properly... I am not sure about this though.

Any advice? Thank you in advance.

Horizontal and Vertical Orientation

Currently, there is only the horizontal orientation. It would be very helpful to me, and other HTC EVO View owners on ICS, because the pen does not work properly with horizontal orientation, only vertically. However, it works the pen works perfectly on stock Honeycomb 3.x.

Is it possible to lower the API, or at least add vertical orientation support?

Galaxy Tab 2 10.1 in Kubuntu 13.04

My friends, I've done all the steps, but I can not run the networktablet in my linux 13.04.

When I run the command "sudo. / Networktablet" in the terminal, it says:


lester@lester-EasyNote-TH36:~/GfxTablet/driver-uinput$ sudo ./networktablet

error: prepare_socket(): Address already in use

I can not make you open the application, I have not checked the router and open the port assigned him.

Please, Help me!

cant run driver in debian wheezy 64 bits

i have use this app 6 moth later, but i try install again, but givme error in root console.

./networktablet.c: línea 1: $'\357\273\277': no se encontró la orden
./networktablet.c: línea 16: error sintáctico cerca del elemento inesperado str' ./networktablet.c: línea 16: perror(str);/'

sorry for my english

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.