-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whiteboard display rotated 90 #5
Comments
Yeah, it is rotated and scaled to look "full screen" on my own large screen. I'll make options for both so you can have a pixel-for-pixel portrait view. Can you give me some details about your use case, so I can test on my side to be sure that works well for you ? |
Scaling made much smoother, the quality is greatly improved Command descriptions can now span multiple lines
Fixed in 1.5.0:
|
I was able to run "dpt whiteboard -orientation portrait" with a single page display document and a side-by-side display document, and they were both just what I was asking for . Thank you! Could you please also add these to the whiteboard-html? By the way, after experimenting and running "dpt whiteboard" a few times with different orientation and scaling options, dpt stopped working, spewing error codes and then the help message. A have attached the error log as a separate file. This happened several times. Sometimes, it seems as though deleting ~/.dpt helps, but not always. IIt also seems that re-registering (dpt register) helps, but I have to wait a minute after that to be able to ping the DPT. It seems like it was hanging on something to exit. Here is the error log: :~$ dpt ping |
I'll take a look this weekend, I've never had the issue but I have a guess:
The way it works (and I don't document enough, I'm quite busy with https://github.com/DPT-RP1/DPT_template) is that it will save your ip in .dpt, ping it to be sure, then if that didn't work, relaunch the discovery process. So it all seems to point towards you having a changing IP, is that the case ? Is that a requirement or just a mishap ? (I like to give everything a local dns name myself, and fixed MAC-bound ip in the router). I can find ways to ping directly the link local name (digitalpaper._tcp.local) maybe. Update this weekend hopefully :) |
Thank you for the notes. I will try setting my IP to static. This makes sense. And, I looked at DPT_template. Who would have thought that the pressure sensitivity was already in the hardware! This was one of the last things I was missing in the DPT. |
Yeah and I spent an enormous amount of time reversing their thing, I think if we wanted to use other pen, it would theorically be possible. At least I know how to use strace now to see syscalls and find the driver / see about using others. Question about pressure sensitivity: why would you be interested in it? I'm not much of an artist myself, and having a successful pressure sensible app is a lot more on the developer side than the hardware side. It doesn't produce a nice writing just by being there, there's a lot of mathematics involved to get various effects, some people I've seen even use non pressure sensitive inputs to produce variable width smooth lines because it just looks better (http://brinley.github.io/jSignature/). Sony has internal support for pressure change in software and willingly suppressed it, I suspect because they couldn't find a use case that would make it look nice. What I'm doing now is to find a way to do a faster anti-aliasing so I could do apps for it that don't have their weird "anti aliasing popup". The way they do is they draw twice the same path, once fast but aliased, then wait a bit and draw with the android anti-aliaser a second time. It's why it "pops" nice, but I think I can do it in parallel (there are 4 cores, and i suspect they ported the old prs-t code that just couldn't do it). The screen is seriously limited in framerate obviously so maybe I'll have to submit and do the same way. Def looking for ideas from my one and only user lol |
I am interested in at least small pressure sensitivity just to be able to make hand writing look a bit better. Now, although I can use the hand writing for personal notes, but I always feel embarrassed when others see my writing on the DPT. I have much better handwriting than what appears on the DPT. Thank you for all the energy and time you are putting into developing. Sony should really put you on their payroll! |
Fixed in 1.6.0 : there's now the -orientation option for html too. 2 caveats:
You can change the css easily directly in the browser if it's for rare one-offs. Thanks for your kind words, it's been a long time since I had so much fun on a side-project, and to be fair to Sony, having seen so much of their disassembled code, they did a TON of stuff to make the software polished even if it looks a bit simplistic. It's not easy to do a real stable and well-tested product and you can feel the efforts and amount of work in it. Even if it's just a pdf reader they did, I stay humble ahah |
The whiteboard function display is rotated 90 degrees clockwise. I see in Whiteboard.java that this is intentional, but it does not work for how I would use it. Perhaps provide an option to not invert width and height?
The text was updated successfully, but these errors were encountered: