Recent Posts

Pages: 1 ... 7 8 [9] 10
81
How do I???? / Add simple "." and "," in Artist Pad
« Last post by Steve on October 10, 2017, 12:07:19 pm »
In the German lightroom the brush size is set by pressing either the "." or the "," key. Unfortunately, there are no single dot or comma in the drop down list. Any suggestions?
82
Feature Requests / Re: Windows Sensor Support for Gamepad
« Last post by inteks on October 09, 2017, 03:18:32 am »
ok. i can use the gamepad set it to keyboard and now i can feed vjoy with sensor data.
i made a little prog to do it for me.
but it would still be nize to have it in one tool.
this code works ->

 
Code: [Select]
class JoyFeederDev {
        private vJoy joystick;
        static public uint id = 1;
        private long maxval;
        private Accelerometer accelerometer;

        public void Enable() {
            joystick = new vJoy();
            if (!joystick.vJoyEnabled()) {
                Console.WriteLine("vJoy driver not enabled: Failed Getting vJoy attributes.\n");
                return;
            } else
                Console.WriteLine("Vendor: {0}\nProduct :{1}\nVersion Number:{2}\n", joystick.GetvJoyManufacturerString(), joystick.GetvJoyProductString(), joystick.GetvJoySerialNumberString());
            // Get the state of the requested device
            VjdStat status = joystick.GetVJDStatus(id);
            switch (status) {
                case VjdStat.VJD_STAT_OWN:
                    Console.WriteLine("vJoy Device {0} is already owned by this feeder\n", id);
                    break;
                case VjdStat.VJD_STAT_FREE:
                    Console.WriteLine("vJoy Device {0} is free\n", id);
                    break;
                case VjdStat.VJD_STAT_BUSY:
                    Console.WriteLine("vJoy Device {0} is already owned by another feeder\nCannot continue\n", id);
                    return;
                case VjdStat.VJD_STAT_MISS:
                    Console.WriteLine("vJoy Device {0} is not installed or disabled\nCannot continue\n", id);
                    return;
                default:
                    Console.WriteLine("vJoy Device {0} general error\nCannot continue\n", id);
                    return;
            };


            // Acquire the target
            if ((status == VjdStat.VJD_STAT_OWN) || ((status == VjdStat.VJD_STAT_FREE) && (!joystick.AcquireVJD(id)))) {
                Console.WriteLine("Failed to acquire vJoy device number {0}.\n", id);
                return;
            } else
                Console.WriteLine("Acquired: vJoy device number {0}.\n", id);

            joystick.GetVJDAxisMax(id, HID_USAGES.HID_USAGE_X, ref maxval);


            accelerometer = Accelerometer.GetDefault();
            accelerometer.ReadingChanged += Accelerometer_ReadingChanged;

            accelerometer.ReportInterval = 5;
            lastState = true.ToString();

        }
       
        private void Accelerometer_ReadingChanged(Accelerometer sender, AccelerometerReadingChangedEventArgs args) {

            var X = (int)((maxval / 2) * ((args.Reading.AccelerationX * 4) + 1));
            X = FilterVJoyData(dx2, X, 3);
            joystick.SetAxis(X, id, HID_USAGES.HID_USAGE_X);

            var Y = (int)((maxval / 2) * (((args.Reading.AccelerationZ + 0.3) * 1.5) + 1));
            Y = FilterVJoyData(dy2, Y, 5);
            joystick.SetAxis(Y, id, HID_USAGES.HID_USAGE_Y);

            Status = $"X={X} Y={Y} {args.Reading.AccelerationX:0.00}/{args.Reading.AccelerationY:0.00}/{args.Reading.AccelerationZ:0.00}";

        }

        List<int> dx2 = new List<int>();
        List<int> dy2 = new List<int>();
        int FilterVJoyData(List<int> list, int newValue, int steps) {
            list.Add(newValue);
            if (list.Count > steps) list.RemoveAt(0);
            int x3 = 0;
            foreach (int i in list) {
                x3 += i;
            }
            var outval = x3 / steps;
            if (outval > maxval) outval = (int)maxval;
            if (outval < 0) outval = 0;
            return outval;
        }

        public void Dispose() {
            if (joystick != null) {
                joystick.RelinquishVJD(id);
                joystick = null;
            }

            if (accelerometer != null) {
                accelerometer.ReadingChanged -= Accelerometer_ReadingChanged;
                accelerometer = null;
            }
        }
}
83
General Discussion / Upgrade from V1
« Last post by inteks on October 09, 2017, 03:08:27 am »
hi,

if i would click on "Upgrade from V1" do i get the full Package ?

thx
inteks
84
Feature Requests / Windows Sensor Support for Gamepad
« Last post by inteks on October 04, 2017, 03:46:13 am »
hi,

i like your software and i use touchmousepointer for a long time now 👍
last weekend i tested tablet pro gamepad. but i really missed 1 feature.
can you please add support for windows sensors ?

i want to play needforspeed like with other tablet/phone apps.# and use sensor for steering.

this is super easy to implement. i try it for my self. but only 1 app a time can feed vjoy. so i have to choose between onscreen buttons or  sensor  :(


you can use this assembly ->
Windows.Devices.Sensors.Inclinometer.GetDefault();
you get an Inclinometer object with eventsupport
"ReadingChanged" or just use "GetCurrentReading" to get the current values.
its super easy! not a big deal ;o)

please can you add this???

thx
85
Share Your Layout / My Photoshop Layout
« Last post by Mike on September 30, 2017, 02:24:38 am »
Hey guys! I'm trying out Tablet Pro and here's what I've come up with.

My preset
[ Guests cannot view attachments ]


I made a couple changes in Photoshop:

First under Edit > Preferences > Tools  I unchecked "Vary Round Brush Hardness based on HUD vertical movement". It makes the Dragging Frame change Brush Opacity instead of Hardness.

I added a Keyboard shortcut for the Navigator Window, it's F4. F4 is usually used as an alternative to Paste.

A couple notes:
The Undo Button will go through History, it's not going to just go back one step.

My tablet (Chuwi Hi13) refuses to accept any touch input if the pen is touching the screen so the hand tool toggles.
86
General Discussion / wanna use SP4 pen side button as eraser
« Last post by guai on September 08, 2017, 07:55:27 am »
I want SP4 pen's only side button works like SP3 pen's 1st side button.
Eraser not right-click.
I downloaded all ahk files from your google drive, looked into those files and guess I can do that with changing some lines in pen.ahk or the others.

two things I cannot figure out.

1. which line I should modify in ahk file?
2. I can map some keyboard keys or mouse clicks because detecting code of those is not a problem to me.
But I have no idea how can I define "eraser button" as a code. I tried to find that through ahkhid but it didn't work.

help me please.
87
General Discussion / Configuration for Sketchup
« Last post by Niles on August 19, 2017, 01:48:05 pm »
Hey everyone! I love the concept of tablet pro and i want to use it for a 3D modeling software called Sketchup. Does anybody have a configuration made specifically for it? That's the only reason i need Tablet Pro and I don't feel too comfortable creating a profile from scratch.
88
I'd like to run full screen to get all my gestures, but sometimes I want the single finger touch to operate as a standard touch screen - tap where you want it to click, single finger drag scrolling, etc.

Is there a way to accomplish this?
89
How do I???? / HDI slow down scrolling
« Last post by LorenWard on July 19, 2017, 07:22:27 pm »
I currently use two finger gestures for Mouse Wheel vertical and horizontal. The only problem is the sensitivity is extremely high - I would rather it be more like touch-screen single finger 'drag' scrolling. The Wheel settings in the Interface menu don't actually seem to change anything. Also, is there a way to invert the horizontal scrolling?

Cheers
90
Bugs / Mouse flicker during slow movement
« Last post by LorenWard on July 19, 2017, 07:09:17 pm »
Like the title says. Surface Pro 4, i7, 16gb RAM, etc. Happens in all modes.
Pages: 1 ... 7 8 [9] 10