/srv/irclogs.ubuntu.com/2020/01/10/#ubuntustudio-devel.txt

studiobot<azbulutlu> ovenwerks yes to database00:24
studiobot<azbulutlu> no the buttons... while generally going up to down are not the same. some tablets have buttons for the ring keys it has in middle some new tablets doesn't come with buttons at all. with xwacom I had a script that threw out the alphabet in order for each button and I pressed each button once to figure out what was went where. there might00:28
studiobot bw a database of this somewhere but I don't know. :(((00:28
studiobot<azbulutlu> and no probably for this reason button layouts should be tablet specific00:29
OvenWerksyummy :P00:29
studiobot<azbulutlu> so a series of layouts for each tablet yeah I know00:29
studiobot<azbulutlu> there is a reason why my attempts at this never went beyond that wiki document00:30
OvenWerks@azbulutlu: I think I will start with the assumption that the user has one tablet. That will cover a lot of people.00:31
studiobot<azbulutlu> but hey at least you can assume people have 1 wacom tablet plugged in at one time00:31
studiobot<azbulutlu> sorry to be the bearer of bad news00:31
studiobot<azbulutlu> errr00:32
studiobot<azbulutlu> the thing is the hard part isn't having multiple tablets00:32
OvenWerksPeop;e will need to have each tablet plugged in so they can set up that tablet anyway. then we will save that with the device id.00:33
OvenWerks But I have to start somewhere00:33
studiobot<azbulutlu> oh I see00:33
studiobot<azbulutlu> well as long as it won't make it harder to add it later00:33
studiobot<azbulutlu> a lot of people might have 1 default layout00:34
studiobot<azbulutlu> then a couple of layouts for apps they use a lot00:34
OvenWerksBasically I will need to keep track of any tablet that has ever been attached. Then use that list for set up00:35
OvenWerksFrom what I can see of xsetwacom's output, there are only so many things one can do.00:36
OvenWerksThere are up to 12 buttons00:36
studiobot<azbulutlu> you set them as they are plugged in I think00:36
OvenWerksthere is a possition00:36
OvenWerksthere is a pressure curve00:36
studiobot<azbulutlu> you cannot even use xsetwacom if yiur tablet is not plugged ib00:36
studiobot<azbulutlu> in00:36
studiobot<azbulutlu> sorry I am typing on phone this is not really helping at all00:37
OvenWerksthat is true, but if I have a data base of devices I can save values to a config file of those.00:37
studiobot<azbulutlu> so when someone plugs in a wacom that's when you want to bring the default setup and possible overrides per application for that tablet00:38
OvenWerksThe first thing I will put in I think, is size position00:38
studiobot<azbulutlu> size position?00:38
OvenWerksyeah, the position the tablet maps to on the screen00:39
OvenWerksThis will default to monitor size00:39
studiobot<azbulutlu> oh yeah that's another fun thing00:39
OvenWerks(most of the time it does already so far as I can see)00:39
OvenWerksI have had people who have not had that happen.00:40
studiobot<azbulutlu> not always but at first phase you need only a few tjings00:40
studiobot<azbulutlu> things00:40
studiobot<azbulutlu> stretch to one screen00:40
studiobot<azbulutlu> stretch to a secondary screen00:40
studiobot<azbulutlu> stretch to all screens00:40
OvenWerksI will start with 4 numbers :)00:41
studiobot<azbulutlu> one option at least to either stretch to a  subsection of the screen that is proportional to the tablet size or use the a subsection of the tablet that is proprtionak to the screen00:42
OvenWerksThen I will add the 12 buttons, 1 to 3 and 8 to 1600:42
studiobot<azbulutlu> ok?00:42
OvenWerksThese are what I have on the GUI so far00:43
studiobot<azbulutlu> honestly I think that is a good start00:43
OvenWerksThen I will add pressure and pressure curve00:43
OvenWerksThere is one tab for the pad (include buttons) and one for the pen/sylus00:44
OvenWerksBut it seems it may be easier to just use one screen.00:44
OvenWerksIt was just that they show as two devices.00:44
studiobot<azbulutlu> Id start with 1 screen00:44
studiobot<azbulutlu> then split it off00:45
studiobot<azbulutlu> I want to say pen button shortcuts (including the single click double click and eraser click) should be with buttons00:45
OvenWerkswhat I would like to do is have a tablet tab that has device sub-tabs00:46
studiobot<azbulutlu> not on pen tab because these settings will vary based on application00:46
OvenWerksHID 256c:006e Pen stylus        id: 11type: STYLUS    00:47
OvenWerksHID 256c:006e Pad pad           id: 12type: PAD      00:47
studiobot<azbulutlu> pen pressure and tablet size proportion will probably be separate settings (especially since many drawing apps etc handle their own pressure sensitivity and even have a secondary layer of complexity of brush specific pressure maps)00:47
OvenWerksThat is the device list for one tablet00:47
studiobot<azbulutlu> yeah pen and pad00:48
OvenWerksSo I can use the bit in the middle as a common device decriptor00:48
OvenWerks and assume pen and pad from that. The only time I need those to be in full form is when they actually get set00:49
studiobot<azbulutlu> the first part yed but why do you need to list the devices?00:50
studiobot<azbulutlu> oh.. to save settings yeah00:50
OvenWerksIf I am going to have different settings for each device I need some key to refer to them all00:52
studiobot<azbulutlu> yep no that is good00:53
studiobot<azbulutlu> I cannot remember if that indicator is model or model plus device ID00:53
studiobot<azbulutlu> its 4am here and I need to be up in like 5 hours so I will be off to sleep now.00:54
OvenWerksSo a default for all devices that would fill the values for new devices.00:54
OvenWerksg'nite00:54
studiobot<azbulutlu> I'll try to lookup matrix transformations this weekend for the screen resize (they are not needed for swapping between screens but it will be needed for anything else - which actually skip stretching between 2 screens for now because I just realized that is quite complicated. my script assumed both screens had the same size which rarely00:57
studiobot happens)00:57
studiobot<azbulutlu> well not rarely but far from guaranteed00:57
OvenWerksxrabder give lots of info though00:57
OvenWerks*xrander00:58
studiobot<azbulutlu> its more that intelligently mapping to 2 screens... depends on screens positions and their relative proportions00:59
studiobot<azbulutlu> ok I am not talking about this anymore not until I have a chance to double check my old intuos script. and gnight. and I am still very excited you are doing this btw :))01:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!